[Numpy-discussion] hold parameters

2011-08-01 Thread Bevan Jenkins
Hello, I have a function that I fitting to a curve via scipy.optimize.leastsq. The function has 4 parameters and this is all working fine. For a site, I have a number of curves (n=10 in the example below). I would like to some of the parameters to be the best fit across all curves (best fit

[Numpy-discussion] np.ma.masked_invalid and precision

2010-10-31 Thread bevan jenkins
Hello, I am not sure if the following is a bug or not. I recently tried to set the print precision in numpy but it didn't seem to make a difference. It seems that the use of np.ma.masked_invalid results in arrays printing precision of 12 regardless of the default setting or any subsequent

Re: [Numpy-discussion] timeseries, the sandbox (was t imeseries - dates prior to 1970)

2010-06-21 Thread Bevan Jenkins
Pierre GM pgmdevlist at gmail.com writes: I just pushed the weekend's changes, including a fix for your problem. Now it should be possible to define an array of dates w/ a timestep different from 1: date_array(start_date=Date(T, 2010-06-21 00:00), length=4, timestep=15)

Re: [Numpy-discussion] timeseries - dates prior to 1970

2010-06-20 Thread Bevan Jenkins
Pierre GM pgmdevlist at gmail.com writes: On Jun 10, 2010, at 7:16 PM, Bevan Jenkins wrote: Hello, I have posted previously about dates prior to 1900 but this seems to be a seperate issue. The error message is definitley different. I can not seem to convert a timseseries from one

[Numpy-discussion] timeseries - dates prior to 1970

2010-06-10 Thread Bevan Jenkins
Hello, I have posted previously about dates prior to 1900 but this seems to be a seperate issue. The error message is definitley different. I can not seem to convert a timseseries from one frequency ('D') to another ('H') when i use dates prior to 1970 as shown below. This works fine when I

[Numpy-discussion] Timeseries scikit - dates prior to 1900

2008-10-21 Thread Bevan Jenkins
) python.exe crashes I was wondering if there is anyway to use timeseries with dates 1900? If not I will forgo timeseries for the select few datasets I have with data 1900. Thanks for the v. useful scikit, Bevan Jenkins ___ Numpy-discussion mailing list