Comparisons of computation timing

2011-09-15 Thread Akand Islam
I have run my codes (written in Python) in my Notebook (3 GB Ram, Dual- core CPU T4500 @ 2.3 GHz) and in my lab machine (11.57 GB Ram, i7-920 CPU @ 2.67 GHz). However, I have found execution time in Notebook 250.3 seconds, and in Lab machine 333.2 seconds. How is it possible? Good configuration mac

Re: Non-linear regression help in Python

2011-02-14 Thread Akand Islam
On Feb 14, 4:28 pm, sturlamolden wrote: > On 14 Feb, 22:02, Akand Islam wrote: > > > Hello all, > > I want to do non-linear regression by fitting the model (let say, y = > > a1*x+b1*x**2+c1*x**3/exp(d1*x**4)) where the parameter (say "c1") must > > be i

Re: Non-linear regression help in Python

2011-02-14 Thread Akand Islam
On Feb 14, 3:24 pm, Krzysztof Bieniasz wrote: > Dnia Mon, 14 Feb 2011 13:02:25 -0800, Akand Islam napisał(a): > > > Hello all, > > I want to do non-linear regression by fitting the model (let say, y = > > a1*x+b1*x**2+c1*x**3/exp(d1*x**4)) where the parameter (say "c

Non-linear regression help in Python

2011-02-14 Thread Akand Islam
Hello all, I want to do non-linear regression by fitting the model (let say, y = a1*x+b1*x**2+c1*x**3/exp(d1*x**4)) where the parameter (say "c1") must be in between (0 to 1), and others can be of any values. How can I perform my job in python? Thanks in advance. -- Akand -- http://mail.python.o

Re: wxPython's "Print" Help

2011-02-02 Thread Akand Islam
On Feb 2, 3:24 pm, Terry Reedy wrote: > On 2/2/2011 12:36 AM, Akand Islam wrote: > > wxPython has its own mailing list. > > If you prefer newsgroups, like I do, connect to news.gmane.org and > subscribe to comp.lang.python.wxpython. > -- > Terry Jan Reedy Thanks for

wxPython's "Print" Help

2011-02-01 Thread Akand Islam
I can print whatever I want (definitely texts) by using following "Printer" class. However, it prints only in Black and White mode regardless original color of texts. Is there any way I can print color texts? = #License: MIT impor

Re: adding "Print" menu in wxPython

2011-01-26 Thread Akand Islam
On Jan 26, 12:54 am, rantingrick wrote: > On Jan 26, 12:19 am, rantingrick wrote: > > Actually i found more cruft. Here is something that would be > acceptable although i had to wrap lines shorter than i normally would > for the sake of Usenet. Who ever wrote that code should be lashed 50 > times

Re: adding "Print" menu in wxPython

2011-01-25 Thread Akand Islam
elf.defaultFileDialogOptions()): textfile = open(os.path.join(self.dirname, self.filename), 'r') self.control.SetValue(textfile.read()) textfile.close() def OnSaveAs(self, event): if self.askUserForFilename(defaultFile=self.filename, sty

adding "Print" menu in wxPython

2011-01-25 Thread Akand Islam
To make a simple editor using wxPython, sample code is available in wxPython's tutorial page (http://wiki.wxpython.org/ WxHowtoSmallEditor). However, in addition I want to add "print" menu which will print the contents of editor (i.e. whatever written in editor). I will appreciate if someone please

Re: Sage's Python

2010-12-15 Thread Akand Islam
On Dec 14, 1:51 pm, Emile van Sebille wrote: > On 12/14/2010 10:27 AM Akand Islam said... > > > On Dec 13, 4:33 pm, "Rhodri James" > > wrote: > >> On Fri, 10 Dec 2010 17:11:55 -, Akand Islam  wrote: > >>> In my system (Ubuntu 10.04) there are s

Re: Sage's Python

2010-12-14 Thread Akand Islam
On Dec 13, 4:33 pm, "Rhodri James" wrote: > On Fri, 10 Dec 2010 17:11:55 -, Akand Islam wrote: > > In my system (Ubuntu 10.04) there are sage-4.6, python 2.6.5, tk8.5- > > dev installed. When I give command from terminal "sage -f > > python-2.6.5.p8"

Sage's Python

2010-12-10 Thread Akand Islam
In my system (Ubuntu 10.04) there are sage-4.6, python 2.6.5, tk8.5- dev installed. When I give command from terminal "sage -f python-2.6.5.p8" to get sage's python it shows following message: No command 'sage' found, did you mean: Command 'save' from package 'atfs' (universe) Command 'page' fr

Re: Matlab equivalent syntax in Python

2010-11-27 Thread Akand Islam
On Nov 27, 4:38 pm, Robert Kern wrote: > On 2010-11-26 18:23 , Akand Islam wrote: > > > > > > > > > > > On Nov 26, 3:50 pm, Cameron Simpson  wrote: > >> On 26Nov2010 13:15, Akand Islam  wrote: > >> | Thanks for your posting. Like, here is

Re: Matlab equivalent syntax in Python

2010-11-26 Thread Akand Islam
On Nov 26, 3:50 pm, Cameron Simpson wrote: > On 26Nov2010 13:15, Akand Islam wrote: > | Thanks for your posting. Like, here is the following Matlab codes > | which I am trying to transform into Python. Here you > | will find "profile clear, profile on, profile off, profile re

Re: Matlab equivalent syntax in Python

2010-11-26 Thread Akand Islam
On Nov 26, 12:37 am, Tim Roberts wrote: > Akand Islam wrote: > > >Can anyone please suggest me what will be the good way to use matlab > >equivalent of "profile clear, profile on, profile off, profile resume > >and profile viewer" in Python? > > Python h

Matlab equivalent syntax in Python

2010-11-24 Thread Akand Islam
Can anyone please suggest me what will be the good way to use matlab equivalent of "profile clear, profile on, profile off, profile resume and profile viewer" in Python? Thanks in advance. -- http://mail.python.org/mailman/listinfo/python-list