Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!eweka.nl!lightspeed.eweka.nl!194.134.4.91.MISMATCH!news2.euro.net!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.029 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'python.': 0.02; 'linear': 0.07; 'cc:addr:python-list': 0.10; 'subject:error': 0.11; 'cc:name:python list': 0.16; 'eckhardt': 0.16; 'wrote:': 0.17; 'replacing': 0.17; 'memory': 0.18; 'subject:skip:i 10': 0.22; 'help.': 0.22; 'cc:2**0': 0.23; 'seems': 0.23; 'tried': 0.25; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'necessary.': 0.27; 'message-id:@mail.gmail.com': 0.27; 'rest': 0.28; 'actual': 0.28; 'fine': 0.28; 'error': 0.30; 'code': 0.31; 'file': 0.32; 'received:google.com': 0.34; 'received:209.85': 0.35; 'there': 0.35; 'but': 0.36; 'subject:with': 0.36; 'too': 0.36; 'rather': 0.37; 'received:209': 0.37; 'data': 0.37; 'subject:: ': 0.38; 'shows': 0.38; 'your': 0.60; 'remove': 0.61; 'different': 0.63; 'absolutely': 0.84; '2013': 0.84; 'isaac': 0.84; 'oscar': 0.84; 'novice': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=q5sJta21vZjSd5vkhv+MMZHLXEqZCmqvRKOlC2n0C9w=; b=kvD+faoi+I04bIhGT+h/yFGgzIHFXrkNGnaJ2U7VrxKMUalb03PmK/jvAUdSH9/H8k s3uGQ0u8FWiqlpEE+Pu0yRYX3+SB9JU7/aOON2RhWVGT7r64wyGLedjLGsm1lsfB3nT2 SYcqhkUzRrdoQRXVNxyOAvjZYcgODhSFnqdEIPTJFSpuchY0IFTHIj5fabLNvRFU3iBV ns4BLwwhD4XDTjTT61b5CTxpzz5ZVF2Q8oH24rC3RlI2eCvL/UprUcsyeZbyTiAR6wUT JmmYpjl8JaV4wqzpVyvjE1GjTw9i9CDLcMJKAgHuLHEGOTObxfYb+lswnEDV9tDIsKNi d2/A== MIME-Version: 1.0 X-Received: by 10.152.111.102 with SMTP id ih6mr797995lab.20.1358935693103; Wed, 23 Jan 2013 02:08:13 -0800 (PST) In-Reply-To: References: <0909ee56-c304-4b9d-8be9-97c7a3261d27@googlegroups.com> Date: Wed, 23 Jan 2013 10:08:13 +0000 Subject: Re: Memory error with quadratic interpolation From: Oscar Benjamin To: Ulrich Eckhardt Content-Type: text/plain; charset=ISO-8859-1 Cc: Python List 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: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1358935694 news.xs4all.nl 6938 [2001:888:2000:d::a6]:52893 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:37439 On 23 January 2013 08:55, Ulrich Eckhardt wrote: > Am 23.01.2013 05:06, schrieb Isaac Won: > >> I have tried to use different interpolation methods with Scipy. My >> code seems just fine with linear interpolation, but shows memory >> error with quadratic. I am a novice for python. I will appreciate any >> help. > [SNIP] > > > Concerning the rest of your problems, there is lots of code and the datafile > missing. However, there is also too much of it, try replacing the file with > generated data and remove everything from the code that is not absolutely > necessary. Also please copy paste the actual error message rather than paraphrasing it. Oscar