Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #44255

Re: Using SciPy in application

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <oscar.j.benjamin@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.008
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'scipy': 0.05; 'installed.': 0.07; 'problem:': 0.07; 'problem?': 0.07; 'subject:application': 0.07; 'rewrite': 0.09; 'cc:addr:python- list': 0.11; 'rewriting': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'cc:addr:python.org': 0.22; 'install': 0.23; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'message-id:@mail.gmail.com': 0.30; 'probably': 0.32; 'received:google.com': 0.35; 'there': 0.35; 'functions.': 0.36; 'application': 0.37; "you're": 0.61; 'to:addr:gmail.com': 0.65; 'oscar': 0.84; 'subject:Using': 0.84; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=Ua5oxiJFAVO/dnHy+vfltypJ7QkYyhWm0SlZfNKWqh8=; b=Kzinn1+z+TF6tTmN2cdwDvdhwSkKKrnBFTsU1vzsprFg0YG6JjCMrN3GjyuFQX1tPV ppANsCi6Qttwot/1ex7NYuy5aZB9CG/cINFEvXwnE4NFfYM3DmhEcftkT8BvqTwqKqgq zb7FDcYoUTvD3zI9gzC5vSsHbD67BlGNh9ZGNyhojD0AlP0VvOqscaY6hlZKB2UBF17o VRPcDOntrPDQb2DddPlnd/FIO934E/ikQCnxCDD9BZMzaEoAEsumTK/2x6bpQV2X/47s 2G6FLhwiZdglFldLKgS2QKGW5XZQePKK5JZrwAFjhNqGP1nnPlFv/U4UAvIG+p4KacGJ AeHA==
X-Received by 10.52.93.78 with SMTP id cs14mr21709052vdb.17.1366801488162; Wed, 24 Apr 2013 04:04:48 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <437ea69e-fa1b-42e9-a09a-23b6f94182f2@googlegroups.com>
References <437ea69e-fa1b-42e9-a09a-23b6f94182f2@googlegroups.com>
From Oscar Benjamin <oscar.j.benjamin@gmail.com>
Date Wed, 24 Apr 2013 12:04:27 +0100
Subject Re: Using SciPy in application
To Roozbeh <roozbeh73@gmail.com>
Content-Type text/plain; charset=ISO-8859-1
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1015.1366801497.3114.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1366801497 news.xs4all.nl 15941 [2001:888:2000:d::a6]:56327
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:44255

Show key headers only | View raw


On 24 April 2013 10:13, Roozbeh <roozbeh73@gmail.com> wrote:
>
> I want to use spline interpolation function from SciPy in an application and at the same time, I don't want the end user to have to install SciPy separately. Is there a way around this problem?

They cannot use the function from scipy if scipy is not installed.
There are three ways round this problem:
1) Rewrite the interpolation function you need in your own code.
2) Require the user to install scipy.
3) Require the user to install some other package that has
interpolation functions.

Rewriting the interpolation function is probably not that difficult
depending on the type of interpolation you're using.


Oscar

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Using SciPy in application Roozbeh <roozbeh73@gmail.com> - 2013-04-24 02:13 -0700
  Re: Using SciPy in application Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-04-24 12:04 +0100
  Re: Using SciPy in application Robert Kern <robert.kern@gmail.com> - 2013-04-24 16:40 +0530
  Re: Using SciPy in application Roozbeh <roozbeh73@gmail.com> - 2013-04-24 04:26 -0700
  Re: Using SciPy in application Roozbeh <roozbeh73@gmail.com> - 2013-04-24 04:29 -0700
  Re: Using SciPy in application Roozbeh <roozbeh73@gmail.com> - 2013-04-24 04:34 -0700
    Re: Using SciPy in application Robert Kern <robert.kern@gmail.com> - 2013-04-24 17:10 +0530
      Re: Using SciPy in application Maarten <maarten.sneep@knmi.nl> - 2013-04-24 07:49 -0700
    Re: Using SciPy in application Alex van der Spek <zdoor@xs4all.nl> - 2013-04-24 11:57 +0000
  Re: Using SciPy in application Miki Tebeka <miki.tebeka@gmail.com> - 2013-04-24 06:52 -0700
    Re: Using SciPy in application Roozbeh <roozbeh73@gmail.com> - 2013-04-24 07:41 -0700
  Re: Using SciPy in application Grant Edwards <invalid@invalid.invalid> - 2013-04-24 19:18 +0000

csiph-web