• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

Include/pygsl/H04-Aug-2018-2,3081,299

doc/H03-May-2022-20,10714,411

examples/H04-Aug-2018-2,2381,622

gsl_dist/H04-Aug-2018-1,372942

pygsl/H04-Aug-2018-12,0339,288

pygsl.egg-info/H03-May-2022-1110

src/H04-Aug-2018-32,62824,988

swig_src/H04-Aug-2018-126,266107,957

testing/H04-Aug-2018-46,84335,164

tests/H04-Aug-2018-5,8894,408

typemaps/H04-Aug-2018-2,0201,454

COPYINGH A D07-Jul-201717.6 KiB341281

CREDITSH A D07-Jul-20172.4 KiB176136

ChangeLogH A D07-Jul-20178.9 KiB222170

MANIFEST.inH A D07-Oct-20171.6 KiB6857

PKG-INFOH A D04-Aug-2018371 1110

READMEH A D12-Sep-20175.7 KiB217157

TODOH A D07-Jul-20171.8 KiB5335

gsl_numobj.pyH A D28-Sep-20177.2 KiB271211

gsl_packages.pyH A D19-Sep-201716 KiB420345

setup.cfgH A D04-Aug-2018515 2521

setup.pyH A D04-Aug-20187.7 KiB268151

README

1               PyGSL: Python interface for GNU Scientific Library
2
3Status of GSL-Library:
4
5   The gsl-library is since version 1.0 stable and for general use. Read more
6   about it at the [1]GSL homepage.
7
8Status of this interface:
9
10   We are collecting implementations of parts of gsl. So the interface is not
11   complete. We are looking forward to contributions of new submodules, while
12   maintaining the available code.
13
14Requirements:
15
16   To build the interface, you will need
17
18     • [2]gsl-1.13 or better,
19     • [3]python2.6 or better and
20     • [4]NumPy, and
21     • a ANSI C compiler (i.e. gcc).
22
23Retrieving the Interface:
24
25   You can download pygsl at [5]http://pygsl.sourceforge.net
26
27Installing GSL interface:
28
29   Uninstall the old version of pygsl
30
31   gsl-config must be on your path
32
33   gzip -d -c pygsl-x.y.z.tar.gz|tar xvf-
34   cd pygsl-x.y.z
35   #do this with your preferred python version
36   #to set the gsl location explicitly use setup.py --gsl-prefix=/path/to/gsl
37   #If your are using cvs, remove your build directory.
38   python setup.py config
39   python setup.py build
40   # Running only
41   python setup.py
42   # can result in an error. So if you see an error running setup.py please
43   run python setup.py build
44   # change to a id, that is allowed to do installation
45   python setup.py install
46
47   Ready....
48
49Using pygsl
50
51   Do NOT test the interface in the distribution root directory! -- please
52   install it first and then change to the tests directory and execute python
53   run_test.py If you want to execute it in the distribution root directory,
54   please run python setup.py build_ext -i first! It will put the required
55   binary files into the pygsl directory.
56
57   Just write in python
58   import pygsl.sf
59   print "%g+/-%g"%pygsl.sf.erf(1)
60
61   or
62   import pygsl.rng
63   rng=pygsl.rng.rng()
64   print rng.gaussian(1.0)
65
66   You may set the environment variable LD_LIBRARY_PATH to find the gsl
67   shared object.
68
69Uninstall GSL interface:
70
71   rm -r "python install path"/lib/python"version"/site-packages/pygsl
72
73Supported Platforms:
74
75     • Linux with python2.* and gsl-1.x
76     • Mac OS X with python2.* and gsl-1.x
77     • Win32 with python2.* and gsl-1.x
78
79   but is supposed to compile and run on any posix platform
80
81   Currently it is being tested:
82
83     • python3.5 numpy1.9.2 and gsl-2.1 (on mac os x, fink)
84
85   The version 2.1.1 was tested with
86
87     • python2.6, numpy1.4 and gsl-1.13 (on linux redhat)
88     • python2.7 numpy1.8 and gsl-1.16 (on mac os x, fink)
89     • python3.4 numpy1.8 and gsl-1.16 (on linux debian stable)
90
91Testing:
92
93   The directory test will contain several testsuites, based on python
94   unittest. Change to this directory to run the tests.
95
96What is implemented (versus gsl2.1):
97
98        • Blas
99        • BSplines
100        • Chebyshev
101        • Combination
102        • Const
103        • Diff
104        • Eigen
105        • Fit
106        • Ieee
107        • Integrate
108        • Interpolation
109        • Interpolation2D
110        • Linalg
111        • Math
112        • Minimize
113        • Multifit
114        • Multifit_nlin
115        • Multimin
116        • Multiroots
117        • Odeiv
118        • Permutation
119        • Poly
120        • Qrng
121        • Rng
122        • Roots
123        • Siman
124        • Sf
125        • Spline
126        • Statistics
127
128What is not implemented yet (versus gsl1.10):
129
130     • GSL Capabilites not yet wrapped by PyGSL
131
132          • Sorting
133          • N-tuples
134
135     • GSL Capabilites partly implemented
136
137          • Discrete Hankel Transforms
138
139   See also the [6]TODO file in the distribution.
140
141   For the exact function volume for a module, please type:
142
143   import pygsl.sf
144   dir(pygsl.sf)
145
146   You can do this with the other modules, too. The naming scheme is the same
147   as in gsl.
148
149Documentation:
150
151   There will be a small reference, but the function reference can be found
152   in the doc strings and at the gsl-reference. See also the "examples"
153   directory.
154
155Support:
156
157   Please send mails to [7]the pygsl mailinglist.
158
159Developement:
160
161   You can browse our [8]git repository.
162
163   Type this to check out the actual version:
164   git clone ssh://schnizer@git.code.sf.net/p/pygsl/GitRepro pygsl
165   The script tools/extract_tool.py generates most of the special function
166   code.
167
168ToDo:
169
170   See TODO.
171
172History:
173
174     • a gsl-interface for python was needed for a project at [9]center for
175       applied informatics cologne.
176     • pygsl-0.0.3 was released at May 23, 2001
177     • pygsl-0.0.4 was released at January 8, 2002
178     • pygsl-0.1 was released at August 28, 2002
179     • pygsl-0.1b was released at May 17, 2003
180     • pygsl-0.3.0 was released
181     • pygsl-0.3.1 was released
182     • pygsl-0.3.3 was released
183     • pygsl-0.9.0 was released
184     • pygsl-0.9.3 was released on 15. June 2008
185     • pygsl-2.2.0 was released 18. April 2016
186
187Thanks:
188
189     • Fabian Jakobs for blas, linalg and eigen
190     • [10]Jochen Küpper for pygsl.statistics functions
191     • Leonardo Milano for rpm build support and test
192     • Michael Forbes for Series Acceleration
193
194Maintainers:
195
196   PyGSL is currently maintained by [11]Achim Gaedke and [12]Pierre Schnizer.
197
198   Thanks to:
199   [13]SourceForge Logo
200
201References
202
203   Visible links
204   1. http://www.gnu.org/software/gsl/
205   2. http://www.gnu.org/software/gsl/
206   3. http://www.python.org/
207   4. http://www.numpy.org/
208   5. http://pygsl.sourceforge.net/
209   6. file:///c/OpenSource/Devel/pygsl-git/doc/TODO.html
210   7. mailto:pygsl-discuss@lists.sourceforge.net
211   8. https://sourceforge.net/p/pygsl/GitRepro/ci/master/tree/
212   9. http://www.zaik.uni-koeln.de/AFS
213  10. mailto:jochen at jochen-kuepper.de
214  11. mailto:achimgaedke at users.sourceforge.net
215  12. mailto:schnizer at users.sourceforge.net
216  13. http://sourceforge.net/
217