I managed to open .txt files without uploading them first. The spaces in
your directory names could cause problems, but I'm guessing here. On my
mac, I did:
pathname =
'/Users/sschym/Documents/papers/WRR_budyko/data/CT45bigleafmultisoil8n_12_scl_30yr/'
data = numpy.loadtxt(pathname + 'yearly.t
On Tue, Apr 7, 2009 at 8:30 PM, hou.andrew wrote:
>
> I tried
>
> import numpy
> metdata = numpy.loadtxt('C:\Users\Andrew\Documents\BIOEN 301\Lab 1\AH
> \' + 'base.txt',dtype='S17')
> metdata.std(axis=None, dtype=None)
>
> Syntax error?
>
You must upload your data to the notebook first using
I tried
import numpy
metdata = numpy.loadtxt('C:\Users\Andrew\Documents\BIOEN 301\Lab 1\AH
\' + 'base.txt',dtype='S17')
metdata.std(axis=None, dtype=None)
Syntax error?
~Andrew
On Apr 7, 4:49 pm, William Stein wrote:
> On Tue, Apr 7, 2009 at 5:13 AM, Stan Schymanski wrote:
>
> > Dear Andrew,
From
http://www.sagemath.org/doc/reference/sage/calculus/wester.html:
sage: # (YES) Taylor expansion of Ln(x)^a*Exp(-b*x) at x=1.
E= EllipticCurve([1,2,3/4,7,19]); E
(The answer given is correct, though)
Clearly the command should be
taylor(ln(x)^a*exp(-b*x),x,1,10)
-Alasdair
--~--~-~
On Tue, Apr 7, 2009 at 5:41 PM, John H Palmieri wrote:
>
> On Apr 7, 12:11 pm, David Joyner wrote:
>> On Mon, Apr 6, 2009 at 12:59 AM, John H Palmieri
>> wrote:
>>
>>
>>
>> > This may be overkill, but the manual documentclass sets some options
>> > and then passes everything else to report.cls
On Tue, Apr 7, 2009 at 5:13 AM, Stan Schymanski wrote:
>
> Dear Andrew,
>
> Perhaps this may help:
>
> sage: import numpy
> sage: metdata = numpy.loadtxt(pathname + 'filename.txt',dtype='S17')
>
> where pathname is a text string with the path to the file and
> 'filename.txt' needs to be replaced
On Tue, Apr 7, 2009 at 11:19 AM, Robert Bradshaw
wrote:
>
> On Apr 7, 2009, at 10:52 AM, Todd wrote:
>
>>
>> Hi,
>>
>> I understand the design decisions for the monolothic design of Sage.
>> However, I'd like to carve out some pieces of it to use as a regular
>> python extensions without the sag
On Tue, Apr 7, 2009 at 3:02 PM, Greg Marks wrote:
>
> SAGE gave me this strange result when attempting to integrate a
> piecewise-defined function:
>
The following is the only thing SAge has for piecewise functions:
sage: f = Piecewise([[(0,pi/2),x],[(pi/2,pi),sin(x)]])
sage: f.integral()
Piece
On Apr 7, 2:20 pm, William Stein wrote:
> On Tue, Apr 7, 2009 at 12:14 PM, Timothy Clemans
>
> > Are you trying to build from source or use a binary? You're on
> > Bluehost right trying to use Sage?
> > I don't think there's a binary for CentOS
>
> There are CentOS binaries:
>
> http://sagem
SAGE gave me this strange result when attempting to integrate a
piecewise-defined function:
sage: v,x=var('v,x')
sage: def chi_squared_pdf(x,v):
: if x > 0:
: return 1/( 2^(v/2) * gamma(v/2) ) * x^(v/2 - 1) * exp(-
x/2)
: else:
: return 0
On Apr 7, 12:11 pm, David Joyner wrote:
> On Mon, Apr 6, 2009 at 12:59 AM, John H Palmieri
> wrote:
>
>
>
> > This may be overkill, but the manual documentclass sets some options
> > and then passes everything else to report.cls. So you can make a copy
> > of report.cls, say in
>
> Do you mean
On Tue, Apr 7, 2009 at 12:14 PM, Timothy Clemans
wrote:
>
> Are you trying to build from source or use a binary? You're on
> Bluehost right trying to use Sage?
> I don't think there's a binary for CentOS
There are CentOS binaries:
http://sagemath.org/bin/linux/
William
> and you're just n
On Apr 7, 2009, at 10:52 AM, Todd wrote:
>
> Hi,
>
> I understand the design decisions for the monolothic design of Sage.
> However, I'd like to carve out some pieces of it to use as a regular
> python extensions without the sage preprocessor, specifically the
> Basic algebra and calculus.
Curr
Are you trying to build from source or use a binary? You're on
Bluehost right trying to use Sage? I don't think there's a binary for
CentOS and you're just not going to be able to build Sage on their
server.
On Tue, Apr 7, 2009 at 6:07 AM, Mikie wrote:
>
> I get the following error after ./sage
I was reading some newsgroops and apparently it happens for a second
user, not for the regular user. I switched to opera and now
everything works. Sage is not at fault.
Plus, the jmol applet now works in ubuntu64!
I ran sage with
export SAGE_BROWSER=opera
I can print now. Even pages with plo
On Tue, Apr 7, 2009 at 6:34 AM, Flavio Coelho wrote:
>
> Another manifestation of the same bug:
>
> http://groups.google.com/group/sage-support/browse_thread/thread/3440b5303fb7585e/5d3f7e31381c1647?lnk=gst&q=Flavio+Coelho#5d3f7e31381c1647
>
Patch up -- please review it:
http://trac.sagemath.or
Since the other person has not gotten around to answering you I gave
it a spin on my x86_64 that seems to be hours old as well. There are
failures but it is not easy to tell if these are significant or not.
However, I always figure any and all failures are a bad thing.
The following tests failed
Mikie virtual private server offerings (slicehost.com and
linenode.com) are a lot less expensive and more flexible then
dedicated solutions.
On Tue, Apr 7, 2009 at 11:47 AM, Mikie wrote:
>
> BlueHost is a non-dedicated server, something like Godaddy only
> better. So are you running Sage on a
On Mon, Apr 6, 2009 at 12:59 AM, John H Palmieri wrote:
>
...
>
> This may be overkill, but the manual documentclass sets some options
> and then passes everything else to report.cls. So you can make a copy
> of report.cls, say in
Do you mean manual.cls?
>
> SAGE_ROOT/devel/sage/doc/output
BlueHost is a non-dedicated server, something like Godaddy only
better. So are you running Sage on a Non-dedicated server? Dedicated
servers typically cost about $90/month.
On Apr 6, 9:46 am, Jaap Spies wrote:
> Mikie wrote:
> > Hi Jaap,
>
> > Are you using Sage on a server like BlueHost?
>
>
Hi,
I understand the design decisions for the monolothic design of Sage.
However, I'd like to carve out some pieces of it to use as a regular
python extensions without the sage preprocessor, specifically the
Basic algebra and calculus.
So the root question is: how do I go about finding maxima
On Tue, Apr 7, 2009 at 9:34 AM, Flavio Coelho wrote:
>
> Hi,
>
> I am having a problem with some python code which runs perfectly in
> straight python, bout fails inside sage, with the following error
> message:
Does it run fine in Sage's Python?
sage -python
>BIP is a package which is in PyP
Hi,
I am having a problem with some python code which runs perfectly in
straight python, bout fails inside sage, with the following error
message:
Traceback (click to the left for traceback)
...
TypeError: array cannot be safely cast to required type
Traceback (most recent call last):
File
Thanks,
I think I'll do both: ask for an account, so that I can report bugs,
and post about my feature request here (I'll open a new thread, so
that the subject will be informative)
Flávio
On 7 abr, 16:20, davidloeffler wrote:
> Hi Flavio,
>
> You can have a trac account if you like -- it's on
Hi Flavio,
You can have a trac account if you like -- it's only as an anti-spam
measure that we require a login. Just email Michael Abshoff (address
on the trac front page). It's possible to create new tickets for
feature requests; these should be allocated to the milestone "sage-
wishlist".
Tha
Another manifestation of the same bug:
http://groups.google.com/group/sage-support/browse_thread/thread/3440b5303fb7585e/5d3f7e31381c1647?lnk=gst&q=Flavio+Coelho#5d3f7e31381c1647
On 6 abr, 20:55, gerhard wrote:
> Something appears broken in the notebook r interface
>
> From the command line
>
Hi,
what is the official channel for feature requests?
I checked the trac site but the ticket system doesn't allow anonymous
users to create new tickets.
thanks,
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscrib
I get the following error after ./sage
"sage:bin: error while loading shared lib:requires glibc 2.5 or later
dynamic linker"
Any help would be appreciated.
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe fro
Did you download the binary or the source?
To compile the source, take a look at
http://www.sagemath.org/doc/installation/source.html#steps-to-install-from-source
As it says, you need some packages that aren't installed in Ubuntu by
default. You can do the following from the command line or inst
Dear Andrew,
Perhaps this may help:
sage: import numpy
sage: metdata = numpy.loadtxt(pathname + 'filename.txt',dtype='S17')
where pathname is a text string with the path to the file and
'filename.txt' needs to be replaced with the file name.
dtype='S17' means that you expect up to 17 characte
Good Afternoon, Prof. Stein
In an effort to move away from a program in which I either have to be
present in a computer lab or buy, I am attempting to use Sage instead
of MATLAB for my Bioengineering class where I have to analyze data
acquired from an EMG. I have a waveform of time vs. voltage sa
hi
I am trying to run Sage on Ubuntu8.10. I have just extracted it using
tar xvzf *.tar.gz to a directory in my home folder but when I try to
run it using ./sage, I get the following error message:
Error setting environment variables by running */sage-3.4-linux-
Ubuntu_8.10-i686-Linux/local/bin/
Dan Drake wrote:
> On Mon, 06 Apr 2009 at 08:08PM -0700, vanny wrote:
>> everything works fine, but i want to remove it entirely from my
>> computer because i don't really use it. how do i do this without
>> messing anything up? do i just delete my entire Sage directory?
>
> Yes. Just delete the
33 matches
Mail list logo