Re: [Numpy-discussion] Euroscipy
On Tue, Aug 2, 2016 at 7:22 PM, Sebastian Berg wrote: > Hi all, > > I am still pondering whether or not (and if which days) to go to > EuroScipy. Who else is there and would like to discuss a bit or > whatever else? > Unfortunately I'm not able to go this year. Ralf ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] Euroscipy
Hi all, I've been lurking on the list, but I'll be at EuroScipy and would very much enjoy meeting any others and getting more involved with the community. Cheers, Matt On Wed, Aug 3, 2016 at 9:50 AM, Ralf Gommers wrote: > > > On Tue, Aug 2, 2016 at 7:22 PM, Sebastian Berg > wrote: > >> Hi all, >> >> I am still pondering whether or not (and if which days) to go to >> EuroScipy. Who else is there and would like to discuss a bit or >> whatever else? >> > > Unfortunately I'm not able to go this year. > > Ralf > > > > ___ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > https://mail.scipy.org/mailman/listinfo/numpy-discussion > > ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] scipy curve_fit variable list of optimisation parameters
On 3 Aug 2016, at 13:00, numpy-discussion-requ...@scipy.org wrote: > Message: 3 > Date: Tue, 2 Aug 2016 22:50:42 +0100 > From: Evgeni Burovski > To: Discussion of Numerical Python > Subject: Re: [Numpy-discussion] scipy curve_fit variable list of > optimisation parameters > Message-ID: > > Content-Type: text/plain; charset=UTF-8 > > > You can use `leastsq` or `least_squares` directly: they both accept an > array of parameters. > > BTW, since all of these functions are actually in scipy, you might > want to redirect this discussion to the scipy-user mailing list. Hi all I found the solution in the following thread: http://stackoverflow.com/questions/28969611/multiple-arguments-in-python One has to call curve_fit with 'p0' (giving curve_fit a clue about the unknown number of variables) I changed func2 to (note the *): def func2( x, *a ): # Bessel function tmp = scipy.special.j0( x[:,:] ) return np.dot( tmp[:,:] , a[:] ) and call it: N = number of optimisation parameters popt = scipy.optimize.curve_fit( func2, x, yi , p0=[1.0]*N) Regards, Siegfried Gonzi Met Office, Exeter, UK -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion
[Numpy-discussion] Numpy 1.11.2
Hi All, I would like to release Numpy 1.11.2rc1 this weekend. It will contain a few small fixes and enhancements for windows and the last Scipy release. If there are any pending PRs that you think should go in or be backported for this release, please speak up. Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion