Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'subject:Python': 0.06; 'explicit': 0.07; 'see.': 0.07; 'subject:file': 0.07; 'attachment.': 0.09; 'explanation': 0.09; 'links.': 0.09; 'posted': 0.15; 'equation': 0.16; 'liu': 0.16; 'received:74.208.4.195': 0.16; 'subject: \n ': 0.16; 'subject:array': 0.16; 'subject:integration': 0.16; 'wrote:': 0.18; 'all,': 0.19; 'code,': 0.22; 'python?': 0.22; 'header:User- Agent:1': 0.23; 'subject:like': 0.24; 'text,': 0.24; 'question': 0.24; 'source': 0.25; 'second': 0.26; 'values': 0.27; 'header:In- Reply-To:1': 0.27; 'tried': 0.27; 'rest': 0.29; 'am,': 0.29; 'file': 0.32; 'text': 0.33; 'plain': 0.33; 'message.': 0.35; 'case,': 0.35; 'but': 0.35; 'html,': 0.36; "didn't": 0.36; 'possible': 0.36; 'integration': 0.37; 'too': 0.37; 'two': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'either': 0.39; 'tell': 0.60; 'first': 0.61; 'such': 0.63; 'subject:The': 0.64; 'dear': 0.65; 'received:74.208': 0.68; 'below:': 0.68; 'containing': 0.69; 'respect': 0.70; 'equation,': 0.84; 'presumably': 0.84 Date: Fri, 16 May 2014 07:14:36 -0400 From: Dave Angel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: The possibility integration in Python without an equation, just an array-like file References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:+9hAxibv0HGViSISGu9oKHvCgtn7OXHif5EGyrd9CHk 6juXR6pfon0n2l3jNAQcB0RnvKCWsPgWfyC8Nga65QW+QQ7k/8 BhBUbrxn6LrdOR1kURMhryr+bnVA5o9oHbeODBP9wc49Voit6I rW7WZWMsFsMPxHzECwhu1ivApeL74GX33XqNWh+Yx+mscKJzsU miGBVPDTm4tWJZ8rdQV4RTmIJYyRiHKi2npmZkA0ffU5CM1hey ENbTcJIeRLNKdswMywy1m6d/E7Ve/H9yq3yGB1afSkLM5fdwXT FsnUQ6/sEX3LwqdT/cFhns+CxIp8rS4x5LacKkVEx3hQkrUnn6 e6v+YPj7PRV5M43idRQQ= X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1400238890 news.xs4all.nl 2917 [2001:888:2000:d::a6]:51161 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:71656 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