t a new numpy entry in
> the registry. There may be still traces of numpy in the registry but
> probably not sufficient to create major problems.
>
> Bruce
>
Interesting. As it turns out, on XP numpy is in Add/Remove, so it can be
removed there. Should be a problem.
--
Wa
.p...@gmail.com wrote:
> On Tue, Sep 21, 2010 at 10:32 PM, Wayne Watson
> wrote:
>> I don't see it in Add/Remove. Whoops. It is on this Win7 machine.
>> I need to check my XP machine. I'll be back when I figure out if that's
>> right. My not always r
simple is it.
On 9/21/2010 4:38 PM, josef.p...@gmail.com wrote:
> On Tue, Sep 21, 2010 at 7:01 PM, Wayne Watson
> wrote:
>> I may have bounced a similar problem around here a few months ago, but
>> this one is a bit more important to get an answer for.
>>
>> I
xe to
install numpy 1.2.0.
Try sentuser.py to make sure it runs properly. If not, contact me.
==
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15&
need two indices to access an
> individual element:
>
> In [1]: from numpy import matrix
>
> In [2]: m = matrix([[1.2],[2.3]])
>
> In [3]: m[0,0]
> Out[3]: 1.2
>
> -paul
>
> -Original Message-
> From: numpy-discussion-boun...@scipy.org
> [mailto:
How do I access 1.2 in such a way as to end up with a float? I keep
getting a matrix.
from numpy import matrix
m = matrix([[1.2],[2.3]])
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz
Found hugin (google), but I think it's a bit too general for my current
interests. You might enjoy an optimization video course from Stanford
Univ on the web.
<http://see.stanford.edu/see/lecturelist.aspx?coll=17005383-19c6-49ed-9497-2ba8bfcfe5f6>
--
Wayne Wat
ipy, you could write the domain-specific code yourself
> and simply call into one of scipy's optimizers. You could also look at
> OpenOpt, a scikit containing a number of global optimizers.
>
> Anne
> P.S. This question would be better suited to scipy-user or astropy
>
ge to
the process helps. As I understand it, he solves parameters in A, then
uses them in B, and so on. I guess that's a reasonable way to do it.
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Got it. Thusly, <http://docs.scipy.org/doc/scipy/reference/>.
On 6/4/2010 11:50 AM, Anne Archibald wrote:
> On 4 June 2010 14:32, Wayne Watson wrote:
>
>> At one point in my career I was very familiar, and that's an
>> understatement :-), with many of these me
wrote:
> On 4 June 2010 00:24, Wayne Watson wrote:
>
>> The link below leads me to http://numpy.scipy.org/, with or without the
>> whatever. IRAF is not mentioned on the home page.
>>
> Um. I was not being specific. For a concrete example of what I mean,
> supp
The link below leads me to http://numpy.scipy.org/, with or without the
whatever. IRAF is not mentioned on the home page.
On 6/1/2010 9:04 PM, Anne Archibald wrote:
> On 2 June 2010 00:33, Wayne Watson wrote:
>
>> Subject is a book title from some many years ago, I wonder if it
tascension means essentially no change?
>
> Friedrich
> ___
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
--
Wayne Watson (W
less trying to determine
properties of an objective lens that may have non-linear features.
I can provide an excerpt from the paper, if the above is not clear.
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std.
; sharpness and roundedness parameters, see the Daophot docu above for
> reference how it works.
>
> Friedrich
> ___
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
--
Wayne Watson (Watso
Subject is a book title from some many years ago, I wonder if it ever
got to Python? I know there were C and Fortran versions.
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39
Good. I'll latch onto them (bookmark) them soon. I like the organic
description.
On 5/29/2010 12:09 PM, Pauli Virtanen wrote:
> Sat, 29 May 2010 11:29:56 -0700, Wayne Watson wrote:
> [clip]
>
>> SciPy. Hmm, this looks reasonable.<http://scipy.org/Getting_Started>.
On 5/28/2010 9:16 PM, David Goldsmith wrote:
On Fri, May 28, 2010 at 8:31 PM, Anne Archibald <aarch...@physics.mcgill.ca>
wrote:
On
28 May 2010 23:59, Wayne Watson <sierra_mtnv...@sbcglobal.net>
wrote:
> That opened a few avenues. After reading this, I went on a me
w?
===
On 5/28/2010 8:31 PM, Anne Archibald wrote:
> On 28 May 2010 23:59, Wayne Watson wrote:
>
>> That opened a few avenues. After reading this, I went on a merry search with
>> Google. I hit upon one interesting book, Handbook of CCD astronomy
ris wrote:
On Fri, May 28, 2010 at 5:45 PM, Wayne Watson
wrote:
Suppose I have a 640x480 pixel video chip and would like to find star
images on it, possible planets and the moon. A possibility of noise
exits, or bright pixels. Is there a known method for finding the
centroid
Suppose I have a 640x480 pixel video chip and would like to find star
images on it, possible planets and the moon. A possibility of noise
exits, or bright pixels. Is there a known method for finding the
centroids of these astro objects?
--
Wayne Watson (Watson Adventures, Prop
is effectively Gauss-Newton when that is appropriate
to the problem.
Chuck
On Fri, May 28, 2010 at 12:36 PM, Wayne
Watson <sierra_mtnv...@sbcglobal.net>
wrote:
Is
Subject method available in Python?
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
Is Subject method available in Python?
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
There are no
> Paul Hobson
> Senior Staff Engineer
> Geosyntec Consultants
> Portland, OR
>
> On Mar 26, 2010, at 8:09 PM, "Wayne
> Watson"mailto:sierra_mtnv...@sbcglobal.net>>
> wrote:
>
> Thanks. How do I switch? Do I just pull down 1.3 or better 1.2 (I use it.)
I get the same error you describe below on the first
attempt. For
some reason unknown to me, it works on the second try.
Switching
to Numpy 1.3
is the best solution to the error.
-paul
From:
numpy-discussion-boun...@scipy.org
[mailto:numpy-discussion-boun...@scipy.org] On Be
\lib\site-packages\scipy\stats\stats.py", line 191,
in
import scipy.special as special
File "C:\Python25\lib\site-packages\scipy\special\__init__.py", line
22, in
from numpy.testing import NumpyTest
ImportError: cannot import name NumpyTest
>>>
Comments?
--
Google shows there is a mail list for SciPy, but when I go to the web
page it shows GMANE, and various feeds for SciPy-Dev and User. Maybe
I'm missing something?
Information about gmane.comp.python.scientific.user
The archive for this list can be read the following ways:
On the web, using
On 2/17/2010 10:00 PM, Scott Sinclair wrote:
>> On 18 February 2010 05:30, Wayne Watson wrote:
>> ...
>>
>> I'm on win7's Add/Remove numpy. No scipy. I just checked the version via
>> import and it's 0.6.0.
>>
> You can downloa
On 2/16/2010 10:01 PM, Scott Sinclair wrote:
>> On 17 February 2010 07:25, wrote:
>> On Wed, Feb 17, 2010 at 12:10 AM, Wayne Watson
>> wrote:
>>
>>> Hi, I'm working on a 1800+ line program that uses tkinter. Here are the
>>> messages I s
I don't think I'm on the current version. Does it make sense to move ahead?
Is there a way to suppress the messages?
On 2/16/2010 9:25 PM, josef.p...@gmail.com wrote:
> On Wed, Feb 17, 2010 at 12:10 AM, Wayne Watson
> wrote:
>
>> Hi, I'm working on a 1800+
File
"C:\Users\Wayne\Sandia_Meteors\Sentinel_Development\Development_Sentuser+
Utilities\sentuser\sentuser_20080716NoiseStudy7.py", line 1990, in Process
root.mainloop()
File "C:\Python25\lib\lib-tk\Tkinter.py", line 1023, in mainloop
On 2/16/2010 4:32 PM, David Cournape
I normally use IDLE on Win, but recently needed to go to command prompt
to see all error messages. When I did, I was greeted by a host of
deprecation and Numpy messages before things got running. The program
otherwise functioned OK, after I found the problem I was after. Are
these messages a wa
two Python books
I've used. I think I'll look at them again. Google didn't even show
anything.
Thanks for the response. I'll try to clear manually the locations we've
mentioned.
On 2/5/2010 9:01 PM, josef.p...@gmail.com wrote:
> On Fri, Feb 5, 2010 at 10:37 PM, Wayne
See Subject.
I'm working in IDLE in Win7. It seems to me MPL gets stuck in
site-packages under C:\Python25. Maybe this is as simple as deleting the
entry?
Well, yes there's a MPL folder under site-packages and an info MPL file
of 540 bytes. There are also pylab.py, pyc,and py0 files under site.
I was just looking at the (Win) Python documentation via the Help on
IDLE, and a Global Module Index. Does anything like that exist for
numpy, matplotlib, scipy?
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std
Thanks. I'll give it a try. Is this something fairly new?
Robert Kern wrote:
On Fri, Jan 15, 2010 at 17:06, Wayne Watson
wrote:
I have from about 90 to 600 points of different data sets that I would
like to find the 10th and 90th percentile for. Does numpy have a
functio
t for Box plots. I don't need to draw anything.
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
Thanks, but I think I've got this under control now, and am moving on.
Robert Kern wrote:
> On Mon, Dec 21, 2009 at 13:44, Wayne Watson
> wrote:
>
>> Yes, one can get both sin and cos via the interactive shell, if math is
>> imported as you have done.
>> Howev
I may have inadvertently made a slip between using script versus shell.
What I'm getting at it that the namespace is the same for both the
editor window and shell window. I find that a little bizarre. I would
have expected each Run from the editor to clear all modules, and only
load those shown
josef.p...@gmail.com wrote:
> On Mon, Dec 21, 2009 at 6:11 PM, Wayne Watson
> wrote:
>
...
>> )
>>print np.sin(2.2)
>>
>> I've been assuming that IDLE clears the namespace. It's quite possible
>> that I get anomalous results as I mo
ve been assuming that IDLE clears the namespace. It's quite possible
that I get anomalous results as I move between Run the program via the
editor, and fiddling in script land. I would like to think that IDLE has
some way to clear the namespace before it runs the program. If not, yikes!
:
> On Mon, Dec 21, 2009 at 9:40 AM, Wayne Watson
> wrote:
>
>> In this code,
>> ===start
>> import math
>> import numpy as np
>> from numpy import matrix
>> def sinD(D): # given in degrees, convert to radians
>>return sin(rad
lt;< line produces, "NameError: global name 'cos' is not defined", but
the sin() above it does not? They are both built-in functions.
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Kern wrote:
> On Sun, Dec 20, 2009 at 22:44, Wayne Watson
> wrote:
>
>> 1.2.0. Did you find the description in the reference manual?
>>
>
> No, he found it using help(numpy.dot) using a more recent version of
> numpy. I highly recommend upgrading.
>
>
1.2.0. Did you find the description in the reference manual?
Charles R Harris wrote:
>
>
> On Sun, Dec 20, 2009 at 7:37 PM, Wayne Watson
> mailto:sierra_mtnv...@sbcglobal.net>>
> wrote:
>
> I've just become acquainted with the help command in WinXP IDLE.
I've just become acquainted with the help command in WinXP IDLE.
help(numyp.sin) works fine. What's going on with dot?
>>> help(numpy.core.multiarray.dot)
Help on built-in function dot in module numpy.core.multiarray:
dot(...)
Is there help for dot?
--
W
e, and 3D as the world we live in.
Thanks to all on this thread.
Christopher Barker wrote:
> Wayne Watson wrote:
>
>> Yes, flat sounds useful here. However, numpy isn't bending over
>> backwards to tie in conventional mathematical language into it.
>>
>
That's for sure! :-)
Charles R Harris wrote:
>
>
> On Sat, Dec 19, 2009 at 10:38 AM, Wayne Watson
> mailto:sierra_mtnv...@sbcglobal.net>>
> wrote:
>
> Yes, flat sounds useful here. However, numpy isn't bending over
> backwards to tie in co
OK, so what's your recommendation on the code I wrote? Use shape 0xN?
Will that eliminate the need for T?
I'll go back to Tenative Python, and re-read dimension, shape and the like.
Charles R Harris wrote:
>
>
> On Sat, Dec 19, 2009 at 9:45 AM, Wayne Watson
&
aac wrote:
> On 12/19/2009 11:45 AM, Wayne Watson wrote:
>
>> A 4x1, 1x7, and 1x5 would be examples of a 1D array or matrix, right?
>>
>> Are you saying that instead of using a rotational matrix ...
>> that I should use a 2-D array for rotCW? So why does numpy ha
Dag Sverre Seljebotn wrote:
> Wayne Watson wrote:
>
>> I'm trying to compute the angle between two vectors in three dimensional
>> space. For that, I need to use the "scalar (dot) product" , according to
>> a calculus book (quoting the book) I'm
ares"(x.flat). Your
> math education appears to have drawn a distinction between "dot
> product" and "scalar product," that, when one is talking about
> Euclidean vectors, just isn't there: in that context, they are one and
> the same thing.
>
> DG
&g
10:20 PM, Wayne Watson
> mailto:sierra_mtnv...@sbcglobal.net>>
> wrote:
>
> This program gives me the message following it:
> Program==
> import numpy as np
> from numpy import matrix
> import math
>
>
> You don't w
I'll amend that. I should have said, "Dot's all folks." -- Bugs Bunny
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7&quo
Nicely done.
Alan G Isaac wrote:
> On 12/18/2009 7:12 PM, Wayne Watson wrote:
>
>> The point of the scalar product is to produce theta.
>>
>
> As David said, that is just NumPy's `dot`.
>
>
>>>> a = np.array([0,2])
>>>> b =
=end msgs===
Why the msg? The types look alike and each array/matrix contains two
elements..
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7"
since the work is very oriented towards vectors
and matrices. Surprisingly it doesn't seem to be available in numpy's
bag of tricks.
David Goldsmith wrote:
> On Fri, Dec 18, 2009 at 3:40 PM, Wayne Watson
> wrote:
>
>> Well, they aren't quite the same. If a is
but I would
like to think it's a common enough need that there would be something
available like sumsq().
Keith Goodman wrote:
> On Fri, Dec 18, 2009 at 3:22 PM, Wayne Watson
> wrote:
>
>> Is there a scalar product in numpy?
>>
>
> Isn't that the sam
Very good.
Is there a scalar product in numpy?
Keith Goodman wrote:
> On Fri, Dec 18, 2009 at 2:51 PM, Wayne Watson
> wrote:
>
>> That should do it. Thanks. How do I get the scalar result by itself?
>>
>
>
>>> np.dot(x.T,x)[0,0]
>>>
That should do it. Thanks. How do I get the scalar result by itself?
Keith Goodman wrote:
> On Fri, Dec 18, 2009 at 1:51 PM, Wayne Watson
> wrote:
>
>> Is it possible to calculate a dot product in numpy by either notation
>> (a ^ b, where ^ is a possible notation) or c
Is it possible to calculate a dot product in numpy by either notation
(a ^ b, where ^ is a possible notation) or calling a dot function
(dot(a,b)? I'm trying to use a column matrix for both "vectors".
Perhaps, I need to somehow change them to arrays?
--
Wayne
f one does a from as above to
get all the classes, does
it give all the capabilities that just using import numpy does?
Anne Archibald wrote:
> 2009/12/17 Wayne Watson :
>
>> I'm just getting used to the math and numpy library, and have begun
>> working on a problem
#x27;t know any more
> about it, but I'm sure google will tell you.
>
>
>> Is there a matplotlib or Pylab mailing list?
>>
>
> There certainly is:
>
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
> And yes, that is t
How would I do that?
Anne Archibald wrote:
> 2009/11/28 Wayne Watson :
>
>> I was only illustrating a way that I would not consider, since the
>> hardware has already created the pdf. I've already coded it pretty much
>> as you have suggested. As I think
David Goldsmith wrote:
> On Fri, Nov 27, 2009 at 9:25 PM, Wayne Watson
> mailto:sierra_mtnv...@sbcglobal.net>>
> wrote:
>
> I actually wrote my own several days ago. When I began getting myself
> more familiar with numpy, I was hoping there would be an easy to
ow it works?
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
350 350 350 35
ues of x.
Mathematically, the statistics are produced directly from it.
josef.p...@gmail.com wrote:
> On Fri, Nov 27, 2009 at 9:47 PM, Wayne Watson
> wrote:
>
>> How do I compute avg, std dev, min, max and other simple stats if I only
>> know the frequency distributi
How do I compute avg, std dev, min, max and other simple stats if I only
know the frequency distribution?
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121
point.
>>>>
>>>> -Chris
>>>>
>>>>
>>>> --
>>>> Christopher Barker, Ph.D.
>>>> Oceanographer
>>>>
>>>> Emergency Response Division
>>>> NOAA/NOS/OR&R
> Seattle, WA 98115 (206) 526-6317 main reception
>
> chris.bar...@noaa.gov <mailto:chris.bar...@noaa.gov>
> ___
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org <mailto:NumPy-Discussion@scipy.org>
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
> -
Lots of good suggestions. I'll pull them into a document for further
reference.
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2
hat I need to understand better. .
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
350 35
In the distant past,
I've all too often had to write my own histogram programs for this,
FORTRAN, etc. My data is from a 640x480 collection of b/w pixels, which
a processor has binned from 0-255, so I don't want repeat doing a
histogram on 307K data points.
Vincent Schut wrote:
> W
josef.p...@gmail.com wrote:
> On Thu, Nov 26, 2009 at 9:48 PM, wrote:
>
>> On Thu, Nov 26, 2009 at 8:18 PM, Wayne Watson
>> wrote:
>>
>>> Yes, I'm just beginning to deal with the contents of NumPy, SciLab, and
>>> SciPy. They all have se
I have a list that already has the frequencies from 0 to 255. However,
I'd like to make a histogram that has say 32 bins whose ranges are 0-7,
8-15, ... 248-255. Is it possible?
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 D
that? The arrows seem to only move the drawing area slightly. Zoom,
pencil, seems pretty offbeat.
Pauli Virtanen wrote:
> to, 2009-11-26 kello 15:08 -0800, Wayne Watson kirjoitti:
>
>> I guess the answer is easy about why a plot is not produced. The remark
>> in the his
I guess the answer is easy about why a plot is not produced. The remark
in the histogram line says this will not work in numpy. Oh, well.
Wayne Watson wrote:
> josef.p...@gmail.com wrote:
>
>> On Thu, Nov 26, 2009 at 2:44 PM, Wayne Watson
>> wrote:
>>
>>
josef.p...@gmail.com wrote:
> On Thu, Nov 26, 2009 at 2:44 PM, Wayne Watson
> wrote:
>
>> I decided to try some example code from Subject.
>>
>> import numpy
>> import pylab
>> # Build a vector of 1 normal deviates with variance 0.5^
described in some detail? Normalized?
The histogram x-axis goes from 0 to 4.5. How does that happen?
Is v is two dimensional? What if it's one dimensional?
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std.
79 matches
Mail list logo