Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #71656 > unrolled thread
| Started by | Dave Angel <davea@davea.name> |
|---|---|
| First post | 2014-05-16 07:14 -0400 |
| Last post | 2014-05-16 14:11 +0100 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: The possibility integration in Python without an equation, just an array-like file Dave Angel <davea@davea.name> - 2014-05-16 07:14 -0400
Re: The possibility integration in Python without an equation, just an array-like file Enlong Liu <liuenlong20@gmail.com> - 2014-05-16 05:57 -0700
Re: The possibility integration in Python without an equation, just an array-like file duncan smith <buzzard@invalid.invalid> - 2014-05-16 14:11 +0100
| From | Dave Angel <davea@davea.name> |
|---|---|
| Date | 2014-05-16 07:14 -0400 |
| Subject | Re: The possibility integration in Python without an equation, just an array-like file |
| Message-ID | <mailman.10066.1400238890.18130.python-list@python.org> |
On 05/16/2014 04:49 AM, Enlong Liu wrote: > Dear All, > > I have a question about the integration with Python. The equation is as > below: > and I want to get values of I with respect of V. E_F is known. But for > T(E), I don't have explicit equation, but a .dat file containing > two columns, the first is E, and the second is T(E). It is also in the > attachment for reference. So is it possible to do integration in Python? > You posted in html, and you tried to make an attachment. Either of these will stop many people from seeing what you intended them to see. Presumably the rest of the explanation is in the source code, which you didn't include in your message. This is a text-mailing-list, and many of us cannot see attachments, and many others of us cannot see html. Please tell your email program to use plain text, not html. Please paste any attachments into the same text message, unless it's too big. In that case, you'd need to paste a link instead, but many people won't be able and/or willing to follow such links. -- DaveA
[toc] | [next] | [standalone]
| From | Enlong Liu <liuenlong20@gmail.com> |
|---|---|
| Date | 2014-05-16 05:57 -0700 |
| Message-ID | <3ade3adc-75fa-4424-9c60-54097ae40460@googlegroups.com> |
| In reply to | #71656 |
Sorry for this inconvenience. Since my file is a little large, I think it will be more difficult for fellows to check. I will now paste the attachment below.
The file for T(E) consists of two columns, the first is E and the second is T(E). What I want is to integrate this function in a certain range.
E T(E)
-6.25789500000000 8.96247678929291
-6.23789500000000 8.90487115888237
-6.21789500000000 7.96907432610510
-6.19789500000000 7.92011229305473
-6.17789500000000 6.99973958998368
-6.15789500000000 6.99959200703257
-6.13789500000000 6.99960349124858
-6.11789500000000 6.99960255937428
-6.09789500000000 7.02338574542792
-6.07789500000000 8.93135475951887
-6.05789500000000 9.96750726601798
-6.03789500000000 10.9408732001956
-6.01789500000000 10.9415058589703
-5.99789500000000 8.94537541754214
-5.97789500000000 10.8097100967606
-5.95789500000000 8.85226193360772
-5.93789500000000 6.99661653557932
-5.91789500000000 6.99654736394444
-5.89789500000000 6.99670347299879
-5.87789500000000 6.99673218445900
-5.85789500000000 6.99659826270511
-5.83789500000000 6.99623464091850
-5.81789500000000 6.99548818932425
-5.79789500000000 6.99394489936466
-5.77789500000000 6.99005017803712
-5.75789500000000 6.96962543581676
-5.73789500000000 5.99747630590266
-5.71789500000000 6.94845928621193
-5.69789500000000 6.98766975985479
-5.67789500000000 6.97758798116556
-5.65789500000000 6.95055436382018
-5.63789500000000 6.87176971154089
-5.61789500000000 6.54273589313568
-5.59789500000000 5.86175895258116
-5.57789500000000 5.11119282973331
-5.55789500000000 4.99981497444712
-5.53789500000000 4.99980834464660
-5.51789500000000 4.99980420721252
-5.49789500000000 4.99979886872216
-5.47789500000000 4.99978991290910
-5.45789500000000 4.99977459415969
-5.43789500000000 4.99974900970110
-5.41789500000000 4.99970628963861
-5.39789500000000 4.99963148201658
-5.37789500000000 4.99948355338835
-5.35789500000000 4.99911446459881
-5.33789500000000 4.99695076010531
-5.31789500000000 4.99843069856951
-5.29789500000000 4.99936037524651
-5.27789500000000 6.35475207677864
-5.25789500000000 6.82856665022716
-5.23789500000000 6.14018744222317
-5.21789500000000 6.36919461746248
-5.19789500000000 6.99756897433419
-5.17789500000000 6.99744749888663
-5.15789500000000 6.99680114447542
-5.13789500000000 6.99567111628791
-5.11789500000000 6.99382008170924
-5.09789500000000 6.99072617412210
-5.07789500000000 6.98523875355823
-5.05789500000000 6.97440300478140
-5.03789500000000 6.94799835685808
-5.01789500000000 6.83297555585804
-4.99789500000000 5.99940020401670
-4.97789500000000 5.99938810939229
-4.95789500000000 5.02927710403357
-4.93789500000000 4.99915975390103
-4.91789500000000 4.99890278935809
-4.89789500000000 4.99859914243363
-4.87789500000000 4.99821739336097
-4.85789500000000 4.99773235771017
-4.83789500000000 4.99710904566381
-4.81789500000000 4.99629369410517
-4.79789500000000 4.99519763548885
-4.77789500000000 4.99366188069830
-4.75789500000000 4.99136763606374
-4.73789500000000 4.98756326792036
-4.71789500000000 4.97994414169979
-4.69789500000000 4.95655109792192
-4.67789500000000 4.29448749155961
-4.65789500000000 3.99951693213742
-4.63789500000000 3.99942050837630
-4.61789500000000 3.99929275933828
-4.59789500000000 3.99907888035628
-4.57789500000000 4.91566360421753
-4.55789500000000 3.00063522267926
-4.53789500000000 3.99325633047260
-4.51789500000000 3.98716883843963
-4.49789500000000 3.99345892791020
-4.47789500000000 3.86300434156207
-4.45789500000000 2.98361846417016
-4.43789500000000 1.00328787566656
-4.41789500000000 0.999797612478520
-4.39789500000000 0.999727944291486
-4.37789500000000 0.999702219681149
-4.35789500000000 1.00016002999621
-4.33789500000000 1.99864445953476
-4.31789500000000 1.99860065378437
-4.29789500000000 1.99824848521827
-4.27789500000000 1.99649756321106
-4.25789500000000 1.95617313810368
-4.23789500000000 3.570896446978622E-004
-4.21789500000000 1.97744209232734
-4.19789500000000 1.99679585412003
-4.17789500000000 1.99842479205520
-4.15789500000000 1.99877213350223
-4.13789500000000 1.99891258930992
-4.11789500000000 1.99245903763110
-4.09789500000000 1.00042020485320
-4.07789500000000 1.99346260053212
-4.05789500000000 1.99529022218454
-4.03789500000000 1.99619467308276
-4.01789500000000 2.98692731072113
-3.99789500000000 2.99342575646381
-3.97789500000000 2.99511377004572
-3.95789500000000 2.99597797947674
-3.93789500000000 2.99653897767668
-3.91789500000000 2.99695098262430
-3.89789500000000 2.99727694889388
-3.87789500000000 2.99754767510197
-3.85789500000000 2.99778011719167
-3.83789500000000 2.99798442330902
-3.81789500000000 2.99816705707735
-3.79789500000000 2.99833233832487
-3.77789500000000 2.99848326713776
-3.75789500000000 2.99862199371746
-3.73789500000000 2.99875010070509
-3.71789500000000 2.99886878023708
-3.69789500000000 2.99897894901818
-3.67789500000000 2.99908132533735
-3.65789500000000 2.99917648165371
-3.63789500000000 2.99926488159352
-3.61789500000000 2.99934690561197
-3.59789500000000 2.99942286954705
-3.57789500000000 2.99949303781197
-3.55789500000000 2.99955763309114
-3.53789500000000 2.99961684390716
-3.51789500000000 2.99967083149013
-3.49789500000000 2.99971973759785
-3.47789500000000 2.99976369547298
-3.45789500000000 2.99980284682420
-3.43789500000000 2.99983736837377
-3.41789500000000 2.99986751113691
-3.39789500000000 2.99989365153947
-3.37789500000000 2.99991633937693
-3.35789500000000 2.99993629070310
-3.33789500000000 2.99995419962049
-3.31789500000000 2.99997018435098
-3.29789500000000 2.99998341819113
-3.27789500000000 3.00001064504626
-3.25789500000000 3.54110605014399
-3.23789500000000 3.95412236287359
-3.21789500000000 3.97367889482106
-3.19789500000000 4.61946526412397
-3.17789500000000 5.68414266040606
-3.15789500000000 5.62916331713924
-3.13789500000000 4.13198103763241
-3.11789500000000 4.67936064608229
-3.09789500000000 4.79767151863688
-3.07789500000000 3.00033719531157
-3.05789500000000 2.99547871695083
-3.03789500000000 2.99915615701496
-3.01789500000000 4.73072989912509
-2.99789500000000 4.91713261359818
-2.97789500000000 4.89867579329250
-2.95789500000000 4.47087307643605
-2.93789500000000 3.99091603911545
-2.91789500000000 5.81119541701557
-2.89789500000000 5.93109489768192
-2.87789500000000 5.93825547418363
-2.85789500000000 5.92019897656607
-2.83789500000000 5.79861607060496
-2.81789500000000 3.76515064453890
-2.79789500000000 3.18935409294165
-2.77789500000000 3.82926732895927
-2.75789500000000 3.58398483677936
-2.73789500000000 2.03211694868174
-2.71789500000000 2.99938865457082
-2.69789500000000 2.99878789344604
-2.67789500000000 2.99818412212921
-2.65789500000000 2.99774221894780
-2.63789500000000 2.99743396008636
-2.61789500000000 2.99874003537348
-2.59789500000000 2.99760685339435
-2.57789500000000 2.99741194400926
-2.55789500000000 2.99854255611774
-2.53789500000000 4.91569649652910
-2.51789500000000 4.94027859259799
-2.49789500000000 4.93056061607726
-2.47789500000000 4.88861078304332
-2.45789500000000 5.10007698404548
-2.43789500000000 4.51533588943211
-2.41789500000000 5.66703810392060
-2.39789500000000 5.79162900824220
-2.37789500000000 4.00025850649894
-2.35789500000000 3.99969972806110
-2.33789500000000 3.99956060303005
-2.31789500000000 3.99982474977923
-2.29789500000000 5.41542804727770
-2.27789500000000 5.02458000749128
-2.25789500000000 4.99752837619261
在 2014年5月16日星期五UTC+8下午7时14分36秒,Dave Angel写道:
> On 05/16/2014 04:49 AM, Enlong Liu wrote:
>
> > Dear All,
>
> >
>
> > I have a question about the integration with Python. The equation is as
>
> > below:
>
> > and I want to get values of I with respect of V. E_F is known. But for
>
> > T(E), I don't have explicit equation, but a .dat file containing
>
> > two columns, the first is E, and the second is T(E). It is also in the
>
> > attachment for reference. So is it possible to do integration in Python?
>
> >
>
> You posted in html, and you tried to make an attachment. Either of
>
> these will stop many people from seeing what you intended them to see.
>
>
>
> Presumably the rest of the explanation is in the source code, which you
>
> didn't include in your message. This is a text-mailing-list, and many
>
> of us cannot see attachments, and many others of us cannot see html.
>
>
>
> Please tell your email program to use plain text, not html.
>
>
>
> Please paste any attachments into the same text message, unless it's too
>
> big. In that case, you'd need to paste a link instead, but many people
>
> won't be able and/or willing to follow such links.
>
>
>
>
>
> --
>
> DaveA
[toc] | [prev] | [next] | [standalone]
| From | duncan smith <buzzard@invalid.invalid> |
|---|---|
| Date | 2014-05-16 14:11 +0100 |
| Message-ID | <53760e87$0$28327$862e30e2@ngroups.net> |
| In reply to | #71659 |
On 16/05/14 13:57, Enlong Liu wrote: > Sorry for this inconvenience. Since my file is a little large, I think it will be more difficult for fellows to check. I will now paste the attachment below. > > The file for T(E) consists of two columns, the first is E and the second is T(E). What I want is to integrate this function in a certain range. > > E T(E) > -6.25789500000000 8.96247678929291 > -6.23789500000000 8.90487115888237 > -6.21789500000000 7.96907432610510 [snip] http://en.wikipedia.org/wiki/Numerical_integration Duncan
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web