On Mon, Mar 21, 2011 at 8:00 PM, Sachin Kumar Sharma wrote:
> BB,
>
>
>
> I have picked python recently and use it for simple day to day task. I am
> looking a routine for loading Well Log Las format and storing information as
> arrays or List.
>
>
>
> Las format looks like following
>
Sachin,
BB,
I have picked python recently and use it for simple day to day task. I am
looking a routine for loading Well Log Las format and storing information as
arrays or List.
Las format looks like following
# LAS format
# Project units are specified as depth units
#
On Mon, Mar 21, 2011 at 15:11, Benjamin Root wrote:
> Came across an odd behavior with a numpy array of datetimes:
>
import numpy as np
from datetime import datetime
a = np.empty((9, 20), dtype=datetime)
a.fill(datetime.now())
>
> This works:
a.min()
> datetime.datetime(20
Came across an odd behavior with a numpy array of datetimes:
>>> import numpy as np
>>> from datetime import datetime
>>> a = np.empty((9, 20), dtype=datetime)
>>> a.fill(datetime.now())
This works:
>>> a.min()
datetime.datetime(2011, 3, 21, 15, 5, 10, 990733)
but, this fails:
>>> np.argmin(a)
T
On Mon, Mar 21, 2011 at 11:27 AM, Brent Pedersen wrote:
> my current use-case is to do this 24 times on arrays of about 200K elements.
> file IO is the major bottleneck.
Would using h5py or pytables help? I get about 3 ms for a write-read
cycle for a 200K array. That's much faster than the convo
On Mon, Mar 21, 2011 at 11:57 AM, Keith Goodman wrote:
> On Mon, Mar 21, 2011 at 10:34 AM, Brent Pedersen wrote:
>> On Mon, Mar 21, 2011 at 11:19 AM, Keith Goodman wrote:
>>> On Mon, Mar 21, 2011 at 10:10 AM, Brent Pedersen wrote:
hi, is there a way to take the product along a 1-d array in
On Mon, Mar 21, 2011 at 12:10 PM, Brent Pedersen wrote:
> hi, is there a way to take the product along a 1-d array in a moving
> window? -- similar to convolve, with product in place of sum?
> currently, i'm column_stacking the array with offsets of itself into
> window_size columns and then taki
Hey all, just wanted to let you know that this works nicely:
stacked = np.vstack(MyDict.values())
So long as the dictionary only cotains the recarrays.
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/n
On Mon, Mar 21, 2011 at 10:34 AM, Brent Pedersen wrote:
> On Mon, Mar 21, 2011 at 11:19 AM, Keith Goodman wrote:
>> On Mon, Mar 21, 2011 at 10:10 AM, Brent Pedersen wrote:
>>> hi, is there a way to take the product along a 1-d array in a moving
>>> window? -- similar to convolve, with product in
On Mon, Mar 21, 2011 at 11:19 AM, Keith Goodman wrote:
> On Mon, Mar 21, 2011 at 10:10 AM, Brent Pedersen wrote:
>> hi, is there a way to take the product along a 1-d array in a moving
>> window? -- similar to convolve, with product in place of sum?
>> currently, i'm column_stacking the array wit
On Mon, Mar 21, 2011 at 10:10 AM, Brent Pedersen wrote:
> hi, is there a way to take the product along a 1-d array in a moving
> window? -- similar to convolve, with product in place of sum?
> currently, i'm column_stacking the array with offsets of itself into
> window_size columns and then takin
hi, is there a way to take the product along a 1-d array in a moving
window? -- similar to convolve, with product in place of sum?
currently, i'm column_stacking the array with offsets of itself into
window_size columns and then taking the product at axis 1.
like::
w = np.column_stack(a[i:-windo
So, in addition to my computer science work, I'm a PhD student in econ.
Right now, the class is using GAUSS for almost everything. This sort of
pisses me off because it means people are building libraries of code that
become valueless when they graduate (because right now we
On 3/20/11 11:54 AM, Lou Pecora wrote:
> I'll add my $0.02 here. Someone mentioned SAGE. I can say that on the Mac
> the
> sage package seems to install very easily and reliably. I've done 4
> installations on Macs 10.4 to 10.6. You can do them with one command line.
> They take a few hours
Hi Ben,
It's very easy to package numpy (and most other modules) with py2exe,
which like Dan mentioned above, will include all necessary (also non-python)
libraries into a dist-folder. The folder to distribute can of course get
quite large if you include a lot of libraries - but I think that onl
On Wed, Mar 16, 2011 at 6:45 AM, Ralf Gommers
wrote:
>
>
> On Wed, Mar 16, 2011 at 12:02 PM, Charles R Harris <
> charlesr.har...@gmail.com> wrote:
>
>>
>>
>> On Tue, Mar 15, 2011 at 9:29 PM, Ralf Gommers <
>> ralf.gomm...@googlemail.com> wrote:
>>
>>>
>>>
>>> On Wed, Mar 16, 2011 at 2:31 AM, Char
On 20. mars 2011, at 16.08, Ben Smith wrote:
>
> So, in addition to my computer science work, I'm a PhD student in econ. Right
> now, the class is using GAUSS for almost everything. This sort of pisses me
> off because it means people are building libraries of code that become
> valueless whe
17 matches
Mail list logo