On Wed, Sep 15, 2010 at 1:05 AM, Travis Oliphant wrote:
> Thanks! This is really great work. So much thanks is due to Pauli and
> David for making this happen. I will get Aaron River to freeze the SVN
> trunk as well as work on trac integration.
With the last re-install of Trac we integ
>I am looking for some reaally basic statistical tools. I have some
>sample data, some sample weights for those measurements, and I want to
>calculate a mean and a standard error of the mean.
>
I have been working through an R training class, converting the examples and
exercises to numpy and scip
On Wed, Sep 15, 2010 at 4:38 PM, Mark Fenner wrote:
> A separate question. Suppose I have a slice for indexing that looks like:
>
> [:, :, 2, :, 5]
>
> How can I get an indexing slice for all OTHER dimension values besides
> those specified. Conceptually, something like:
>
> [:, :, all but 2, :,
One method of using indices seems to be as follows:
In [19]: a = N.array(range(6)).reshape(3,2)
In [20]: i = N.indices([3,2])
In [21]: r,c = i
In [22]: a[r,c]
Out[22]:
array([[0, 1],
[2, 3],
[4, 5]])
In [23]: a[tuple(i)]
Out[23]:
array([[0, 1],
[2, 3],
[4, 5]])
*Quest
On Wed, Sep 15, 2010 at 2:54 PM, Charles R Harris wrote:
>
>
> On Wed, Sep 15, 2010 at 1:34 PM, Benjamin Root wrote:
>
>> Hello,
>>
>> I am trying to solve a problem in matplotlib where I would have an array
>> of floating point numbers and I want to quickly determine what is the
>> closest comm
Mark Bakker wrote:
> Can I make a view of an entire array but with a different shape?
yup.
> For example:
>
> a = zeros((2,3,4))
>
> Now I want array b to be identical to a, but with shape (2,12).
>
> b = a; b.shape = (2,12)
>
> This doesn't work, of course, as also the shape of a changes.
as
On Wed, Sep 15, 2010 at 1:34 PM, Benjamin Root wrote:
> Hello,
>
> I am trying to solve a problem in matplotlib where I would have an array of
> floating point numbers and I want to quickly determine what is the closest
> common offset to a power of 10. In other words, if given:
>
> [12373.43, 1
10*np.floor(a/10).min()
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
On Wed, Sep 15, 2010 at 2:34 PM, Benjamin Root wrote:
> Hello,
>
> I am trying to solve a problem in matplotlib where I would have an array of
> floating point numbers and I want to quickly determine what is the closest
> common offset to a power of 10. In other words, if given:
>
> [12373.43, 1
Hello,
I am trying to solve a problem in matplotlib where I would have an array of
floating point numbers and I want to quickly determine what is the closest
common offset to a power of 10. In other words, if given:
[12373.43, 12375.89, 12370.18],
I would want returned something like either 123
Dmitrey,
Great to hear OpenOpt development is moving forward.
I tried to easy_install on both a Mac and on Windows, but both installations
crashed.
With similar (maybe identical) errors on "atexit" commands.
Any solution?
Mark
___
NumPy-Discussion mailing
On Wed, Sep 15, 2010 at 10:27 AM, Pauli Virtanen wrote:
> Wed, 15 Sep 2010 11:16:35 -0500, Robert Kern wrote:
> [clip: .gitignore]
> >> *.o
> >> *.a
> >> *.pyc
> >> *.swp
> >> *~
> >> build
> >
> > *.pyo
> > *.so
> > *.pyd
> > .gdb_history
> > dist
>
> /build
> /dist
> /doc/build
> /doc/cdoc/buil
Wed, 15 Sep 2010 11:16:35 -0500, Robert Kern wrote:
[clip: .gitignore]
>> *.o
>> *.a
>> *.pyc
>> *.swp
>> *~
>> build
>
> *.pyo
> *.so
> *.pyd
> .gdb_history
> dist
/build
/dist
/doc/build
/doc/cdoc/build
.\#*
*.log
*.egg-info
/numpy/core/__svn_version__.py
/doc/numpy.scipy.org/_build
The .\#* i
On Wed, Sep 15, 2010 at 11:10, Charles R Harris
wrote:
>
>
> Now that we have the repository, let's revisit the .gitignore file that I
> removed from svn. IIRC, Stefan complained and Pauli more or less agreed with
> the removal. However, after browsing about the net, the suggested policy is
> tha
Now that we have the repository, let's revisit the .gitignore file that I
removed from svn. IIRC, Stefan complained and Pauli more or less agreed with
the removal. However, after browsing about the net, the suggested policy is
that files that should be excluded in all the clones of the repository
On Wed, Sep 15, 2010 at 03:07:52PM +, Pauli Virtanen wrote:
> and pick a state that seems good, usually somebra...@{1} if you didn't do
> new commits etc. on the branch yet:
> $ git checkout somebra...@{1}
> ... check now that this is the state you'd like somebranch to have...
> $
Hi,
Datetime support in Numpy requires ctypes - RuntimeError is raised
because ctypes has only been included in Python starting with Python2.5.
This Python2.4 dependency must be included in the documentation so I
created ticket 1613 (http://projects.scipy.org/numpy/ticket/1613).
A standalone
Wed, 15 Sep 2010 15:09:30 +0200, Gael Varoquaux wrote:
[clip]
> Reading the above, it seemed to me that I could always revert my
> previous action (unless it impacted non-tracked files) using:
>
> git checkout h...@{0}
>
> I just tried it on a copy of a repo I had, and I get "You are in a
> '
On Wed, Sep 15, 2010 at 8:28 AM, Ralf Gommers
wrote:
>
>
> On Fri, Sep 10, 2010 at 12:05 AM, Peter <
> numpy-discuss...@maubp.freeserve.co.uk> wrote:
>
>> Hi all,
>>
>> NumPy currently makes extensive use of the DeprecationWarning
>> class to alert users when some feature is going to be withdrawn.
On Wed, Sep 15, 2010 at 8:09 AM, Gael Varoquaux <
gael.varoqu...@normalesup.org> wrote:
> On Wed, Sep 15, 2010 at 09:54:24PM +0900, David Cournapeau wrote:
> > The basic way to use reflog is trivial: it just keeps a (time ordered)
> > list of your commits and actions, independently of the branch.
On Fri, Sep 10, 2010 at 12:05 AM, Peter <
numpy-discuss...@maubp.freeserve.co.uk> wrote:
> Hi all,
>
> NumPy currently makes extensive use of the DeprecationWarning
> class to alert users when some feature is going to be withdrawn.
> However, as of Python 2.7, the DeprecationWarning is silent by
>
On Wed, Sep 15, 2010 at 09:54:24PM +0900, David Cournapeau wrote:
> The basic way to use reflog is trivial: it just keeps a (time ordered)
> list of your commits and actions, independently of the branch. So for
> example, say you are in master, and by accident, you do:
> git reset --hard origin/ma
On Wed, Sep 15, 2010 at 8:48 PM, Gael Varoquaux
wrote:
> On Wed, Sep 15, 2010 at 06:55:46PM +0900, David wrote:
>> > Unless you use the 'force' switches. I am trying very hard not to
>> > use them, as I have been advised by several good git users.
>
>> Well, yes and no. For example, you can not lo
On Wed, Sep 15, 2010 at 10:08:21AM +, Pauli Virtanen wrote:
> Pushing to origin/master from feature should be possible:
> $ git checkout feature
> $ git fetch origin
> $ git merge origin/master # if needed
> $ git push origin feature:master
That's what I was missing! Thanks,
Gaël
__
On Wed, Sep 15, 2010 at 06:55:46PM +0900, David wrote:
> > Unless you use the 'force' switches. I am trying very hard not to
> > use them, as I have been advised by several good git users.
> Well, yes and no. For example, you can not loose commits with any
> command that I know of thanks to the r
Wed, 15 Sep 2010 10:58:57 +0200, Gael Varoquaux wrote:
[clip]
> Now I have a problem: at step 1 I should have created a branch. I did
> not. I need to go back and create a branch. This was happening at a
> sprint, and people that know git better than me helped me out. But the
> only way we found to
On 09/15/2010 05:58 PM, Gael Varoquaux wrote:
> On Wed, Sep 15, 2010 at 05:10:53PM +0900, David wrote:
>> It is very difficult to actually lose data with git thanks to the
>> reflog:
>> http://www.gitready.com/intermediate/2009/02/09/reflog-your-safety-net.html
>
> Unless you use the 'force' switch
On Sep 15, 2010, at 11:01 AM, Mark Bakker wrote:
> Hello List,
>
> Can I make a view of an entire array but with a different shape?
>
> For example:
>
> a = zeros((2,3,4))
Mark,
Try that.
b = a.reshape((2,12))
Now,
>>> b.flat=1
>>> a
array([[[ 1., 1., 1., 1.],
[ 1., 1., 1., 1
Hi all,
I'm glad to inform you about new releases:
OpenOpt 0.31, FuncDesigner 0.21, DerApproximator 0.21
For details see
http://forum.openopt.org/viewtopic.php?id=299
or visit our homepage
http://openopt.org
Regards,
Dmitrey
__
Hello List,
Can I make a view of an entire array but with a different shape?
For example:
a = zeros((2,3,4))
Now I want array b to be identical to a, but with shape (2,12).
b = a; b.shape = (2,12)
This doesn't work, of course, as also the shape of a changes.
I know I can simply make a copy of
On Wed, Sep 15, 2010 at 05:10:53PM +0900, David wrote:
> It is very difficult to actually lose data with git thanks to the
> reflog:
> http://www.gitready.com/intermediate/2009/02/09/reflog-your-safety-net.html
Unless you use the 'force' switches. I am trying very hard not to
use them, as I have
> Also look at CPython's objimpl.h, union _gc_head, you will see an
> unprotected usage of 'long double', so it seems that CPython requires
> that the C compiler to support 'long double'.
Long double is IIRC in C89, so compiler support is probably not a problem
nowadays.
--
Pauli Virtanen
_
On 09/15/2010 04:21 PM, Gael Varoquaux wrote:
> On Tue, Sep 14, 2010 at 04:51:39PM -0700, Fernando Perez wrote:
>>> I've heard several people say that once they used git, they can't imagine
>>> going back to SVN.
>
>> As you were writing this, Min RK and I were discussing on IRC:
>
>> there are
On Tue, Sep 14, 2010 at 04:51:39PM -0700, Fernando Perez wrote:
> > I've heard several people say that once they used git, they can't imagine
> > going back to SVN.
> As you were writing this, Min RK and I were discussing on IRC:
> there are so many people who provide patches on github, since
>
34 matches
Mail list logo