Your message dated Sun, 21 Apr 2013 15:03:09 +0000 with message-id <E1UTvnJ-0008TU-GK@franck.debian.org> and subject line Bug#350109: fixed in python-scientific 2.9.2-1 has caused the Debian Bug report #350109, regarding python-scientific: leastSquaresFit function fitting problems to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 350109: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=350109 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: python-scientific: leastSquaresFit function fitting problems
- From: Peter Rybar <rybar@dmpc.dbp.fmph.uniba.sk>
- Date: Fri, 27 Jan 2006 12:51:26 +0100
- Message-id: <20060127115126.4DDFE3044@dmpc.dbp.fmph.uniba.sk>
Package: python-scientific Version: 2.4.9-2 Severity: important leastSquaresFit have a serious problems fitting some sort of data. See example: ---------- fit.py begin ----------------------- #!/usr/bin/python import math import Numeric import Gnuplot from Scientific.Functions.LeastSquares import leastSquaresFit def func(params,x): # y=ax^2+bx+c return params[0]*x*x + params[1]*x + params[2] y = [0.024534584403990638, 0.024268139468029117, 0.024327174254079119, 0.023987418341212714, 0.024193310299944572, 0.024205986364944539, 0.024362896651579858, 0.02423512221973911, 0.024474275622143011, 0.024560514763826952, 0.024200400064391291, 0.024905882963317118, 0.024341957057204804, 0.024858910677267834, 0.02456561695534765, 0.024486185747873021, 0.024849803534167346, 0.02494169514520066, 0.024830224580372567, 0.024924391234288964, 0.024829432926425379, 0.025084227371413314, 0.024920185549166675, 0.024966063512280281, 0.024976124021682811, 0.024937318918899908, 0.025227082507185663, 0.024855946039654016, 0.024749003062764331, 0.024932169370634406, 0.02506660192339695, 0.02494286917136742, 0.02496622327396187, 0.024958945781895937, 0.025422296259554999, 0.025131910308544132, 0.025359726223181406, 0.025166614713359344, 0.02518719660684356, 0.02483155872573857, 0.024708002738975152, 0.024874566784538119, 0.025060911568896765, 0.024619622497772997, 0.024873415963445222, 0.0 24264834096079206, 0.024614531032652768, 0.024399247042373475, 0.024863916814417391, 0.024766917482409959, 0.024219429877820539, 0.024638125836536767, 0.024541418698712448, 0.024317146507352321, 0.024536888767789325, 0.024200295665299014, 0.024433616218483001, 0.024424434856681668, 0.023599470793024137, 0.023744196289889611, 0.024244459897969299, 0.023766126573895086, 0.022880253808965877, 0.02402953850052976, 0.023752884424688276, 0.02356658316651471, 0.023732425193155302, 0.024136862451918019] x = [9007708.75, 9007710.625, 9007712.5, 9007714.375, 9007716.25, 9007718.125, 9007720.0, 9007721.875, 9007723.75, 9007725.625, 9007727.5, 9007729.375, 9007731.25, 9007733.125, 9007735.0, 9007736.875, 9007738.75, 9007740.625, 9007742.5, 9007744.375, 9007746.25, 9007748.125, 9007750.0, 9007751.875, 9007753.75, 9007755.625, 9007757.5, 9007759.375, 9007761.25, 9007763.125, 9007765.0, 9007766.875, 9007768.75, 9007770.625, 9007772.5, 9007774.375, 9007776.25, 9007778.125, 9007780.0, 9007781.875, 9007783.75, 9007785.625, 9007787.5, 9007789.375, 9007791.25, 9007793.125, 9007795.0, 9007796.875, 9007798.75, 9007800.625, 9007802.5, 9007804.375, 9007806.25, 9007808.125, 9007810.0, 9007811.875, 9007813.75, 9007815.625, 9007817.5, 9007819.375, 9007821.25, 9007823.125, 9007825.0, 9007826.875, 9007828.75, 9007830.625, 9007832.5, 9007834.375] datafit = [] for i in range(len(x)): datafit.append((x[i], y[i])) guess = (-1.0, 1.0, 1.0) fit_params, fit_error = leastSquaresFit(func, guess, datafit) print fit_params, fit_error xf = [] yf = [] for i in range(len(x)): xf.append(x[i]) yf.append(func(fit_params, x[i])) gnuplot = Gnuplot.Gnuplot() gnuplot.clear() gnuplot('set data style linespoints') gnuplot('set title "bad fit"') #self.gnuplot('set xrange [%f:%f]' % (self.frequency['start']-100, self.frequency['stop']+100)) gnuplot.plot( Gnuplot.Data( x, y, title='data', axes='x1y1', inline=1 ), Gnuplot.Data( xf, yf, title='fit', axes='x1y1', inline=1 ) ) raw_input('Press enter') x = range(len(x)) datafit = [] for i in range(len(x)): datafit.append((x[i], y[i])) guess = (-1.0, 1.0, 1.0) fit_params, fit_error = leastSquaresFit(func, guess, datafit) print fit_params, fit_error xf = [] yf = [] for i in range(len(x)): xf.append(x[i]) yf.append(func(fit_params, x[i])) gnuplot = Gnuplot.Gnuplot() gnuplot.clear() gnuplot('set data style linespoints') gnuplot('set title "good fit"') #self.gnuplot('set xrange [%f:%f]' % (self.frequency['start']-100, self.frequency['stop']+100)) gnuplot.plot( Gnuplot.Data( x, y, title='data', axes='x1y1', inline=1 ), Gnuplot.Data( xf, yf, title='fit', axes='x1y1', inline=1 ) ) raw_input('Press enter') ---------- fit.py end ----------------------- -- System Information: Debian Release: 3.1 APT prefers experimental APT policy: (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.8-2-k7 Locale: LANG=C, LC_CTYPE=sk_SK (charmap=ISO-8859-2) Versions of packages python-scientific depends on: ii python 2.3.5-2 An interactive high-level object-o ii python-netcdf 2.4.9-2 A netCDF interface for Python ii python-numeric-ext 23.8-1 Extension modules for Numeric Pyth -- no debconf information
--- End Message ---
--- Begin Message ---
- To: 350109-close@bugs.debian.org
- Subject: Bug#350109: fixed in python-scientific 2.9.2-1
- From: Picca Frédéric-Emmanuel <picca@debian.org>
- Date: Sun, 21 Apr 2013 15:03:09 +0000
- Message-id: <E1UTvnJ-0008TU-GK@franck.debian.org>
Source: python-scientific Source-Version: 2.9.2-1 We believe that the bug you reported is fixed in the latest version of python-scientific, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 350109@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Picca Frédéric-Emmanuel <picca@debian.org> (supplier of updated python-scientific package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.8 Date: Tue, 20 Jan 2013 17:01:32 +0200 Source: python-scientific Binary: python-scientific python-netcdf python-scientific-doc python-mpi mpich2python openmpipython Architecture: source i386 all Version: 2.9.2-1 Distribution: experimental Urgency: low Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org> Changed-By: Picca Frédéric-Emmanuel <picca@debian.org> Description: mpich2python - MPI-enhanced Python interpreter (MPICH2 based version) openmpipython - MPI-enhanced Python interpreter (OpenMPI based version) python-mpi - MPI module for Python python-netcdf - netCDF interface for Python python-scientific - Python modules useful for scientific computing python-scientific-doc - Python modules useful for scientific computing Closes: 263254 270930 350109 379745 458034 491538 624748 651502 Changes: python-scientific (2.9.2-1) experimental; urgency=low . * Imported Upstream version 2.9.2 (Closes: #263254, #270930, #350109, #379745, #458034, #491538, #651502) * Maintained under Debian-Science umbrella (Closes: #624748) * Switch to source format 3.0 (quilt) * Use dh instead of plain debhelper * Switch to compat level 9 * Bump Standards-Version 3.9.4 (nothing to do) Checksums-Sha1: 7e2e82616590e585772603b09a0aa864b0b0aa1f 1858 python-scientific_2.9.2-1.dsc 387b0ed5600b0f08301412745aab2da72e1459d7 596467 python-scientific_2.9.2.orig.tar.gz 2a1938bf71c6d803e79cc741cfbf641d1b696ce1 8855 python-scientific_2.9.2-1.debian.tar.gz fc1ffc51931dc084daabc554cc82c4b76d323c6d 211740 python-scientific_2.9.2-1_i386.deb b0471a3cc639ad3dfd8c664224360f6f718955c6 51192 python-netcdf_2.9.2-1_i386.deb d2ea08461a8ac3cbec6d0813a0f4aed7ada66b1e 443964 python-scientific-doc_2.9.2-1_all.deb 11447c740fdc232fe246098f77a5f3c51ec7e2f7 26706 python-mpi_2.9.2-1_all.deb 67cdaddf2c21c84e6a12d773d0e1eb50d21fdc65 17952 mpich2python_2.9.2-1_i386.deb d37df220ee482d2626761cd6e4bac83a999a28a4 18616 openmpipython_2.9.2-1_i386.deb Checksums-Sha256: 903729aa245aa02000b6460fae08ed443ebc5b2f687250861e717b50cf9e1f37 1858 python-scientific_2.9.2-1.dsc 0ed9cb725a7c1736a15de27d62a2abfd1d84de1a45b5932e9747bc3952a73ad9 596467 python-scientific_2.9.2.orig.tar.gz 7b7e72c5c171f9a51ab416d687b82351197f9cf11ce603d6f3895629a65af9b3 8855 python-scientific_2.9.2-1.debian.tar.gz 78f04facca0271bd6e7c451f72b243c2afc31ffc6888e24917236c78467e7215 211740 python-scientific_2.9.2-1_i386.deb d796e6c068f0d5bb9b5c24c25ccb6f2ce02e837bb3cfcf0e4c412c29b872a581 51192 python-netcdf_2.9.2-1_i386.deb 0193c852c8ac323f55f90483d0fc126527f9c1f3ab637df875bc077e945e1aab 443964 python-scientific-doc_2.9.2-1_all.deb 01259790d5fab3b067e388b0eaa83b6389a2325c78d1fe47e7f7db0c47cf95cc 26706 python-mpi_2.9.2-1_all.deb 04e53039d92d6d13b7ee1b095bb1ec6e6bae2643bb900a35c8c641d87de195d9 17952 mpich2python_2.9.2-1_i386.deb ec2d2437def62fcd3626b63354e865b8bbbeab9505d7e9f2f167dda69e369df9 18616 openmpipython_2.9.2-1_i386.deb Files: 58e2c41928b29e37997f9051afecfab8 1858 science extra python-scientific_2.9.2-1.dsc 5fb53f29126316ae2628e74e629312d5 596467 science extra python-scientific_2.9.2.orig.tar.gz ae0b17a76bbbaf3c5a439b32cdafb902 8855 science extra python-scientific_2.9.2-1.debian.tar.gz 2b77642ae2bc2898a043c78152d307e2 211740 python extra python-scientific_2.9.2-1_i386.deb 23881a33777784a645913cfdfa9d69f6 51192 python extra python-netcdf_2.9.2-1_i386.deb b7a2db613ef69ed3bc78e6a1b4406973 443964 doc extra python-scientific-doc_2.9.2-1_all.deb 5dae2417b1df92add57f3448674de475 26706 python extra python-mpi_2.9.2-1_all.deb c7dfa5f201816087451a08435ff52197 17952 science extra mpich2python_2.9.2-1_i386.deb 91d2a1bc7b088e72797375d20940ab52 18616 science extra openmpipython_2.9.2-1_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlFz8BIACgkQtqm6aqWbEXGMYwCfcJYabhMzCZCFYvdMlFEYuW0d AOoAn3SJKvEz6A51bdjQ4krQNle2a+6X =K+4G -----END PGP SIGNATURE-----
--- End Message ---