--
--
*Sayan Chatterjee*
Dept. of Physics and Meteorology
IIT Kharagpur
Lal Bahadur Shastry Hall of Residence
Room AB 205
Mob: +91 9874513565
blog: www.blissprofound.blogspot.com
Volunteer , Padakshep
www.padakshep.org
r change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
--
--
*Sayan Chatterjee*
Dept. of Physics and Meteorology
IIT Kharagpur
Lal Bahadur Shastry Hall of Residence
Room AB 205
Mob: +91 9874
Thanks Oscar figured it out...:)
On 11 April 2013 00:17, Oscar Benjamin wrote:
> On 10 April 2013 17:58, Sayan Chatterjee
> wrote:
> > Thank Andre for your prompt answer.
> >
> > I'll figure out the plotting issue once the dat files are made. So it's
>
il 2013 23:52, Sayan Chatterjee wrote:
> Hi Andre,
>
> Is it that? We can have different plots and hence animation from a single
> data file.Very good!...if you have some time in your disposal, it will be
> kind of you to illumine in this matter...may be some useful link will do.
>
&
oat argument required, not numpy.ndarray
> >
> > What to do? :-|
>
> There are pieces of the code snipet you sent which are not defined, so it
> is not clear why you are getting this error. How long is the file
> "ZA_Phase_Plot.py"? At least you can send from li
is a numpy
> array.
> > You have in mind adding a third entry to the table with just floats.
> >
> > 2/
> > '''
> > your_data = numpy.zeros([10,10]) # initialize a 2D numpy array with all
> zeros
> > for i in range(your_data.shape[0]):
> > for j in
on't), I want to see
the phase plot evolving with time. Thus the need of a time axis and hence
plot with V(velocity-Yaxis), X ( Position -X axis) and t (Time-Z axis).
Regards,
Sayan
On 10 April 2013 23:07, Alan Gauld wrote:
> On 10/04/13 16:44, Sayan Chatterjee wrote:
>
> I have
y and called data and is in a python list/table format
> '''
>
> Now you want to make a new column or row for your data file, which
> contains floats. Well, all the entries inside the numpy array are already
> floats, so it is not clear to me why you want a new colu
e would make it easier to help answer your question. Eg.,
> from your description, it is not clear if your existing data is in a table,
> and in the table you have numpy arrays, or if you have one numpy array of
> rank 2 with data in it.
>
>
> Regards,
>
> Andre
>
--
--
*Sayan Chatterjee*
Dept. of Physics and Meteorology
IIT Kharagpur
Lal Bahadur Shastry Hall of Residence
Room AB 205
Mob: +91 9874513565
blog: www.blissprofound.blogspot.com
Volunteer , Padakshep
www.padakshep.org
__
> Tutor maillist - Tutor@python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
--
--
*Sayan Chatterjee*
Dept. of Physics and Meteorology
IIT Kharagpur
Lal Bahadur Shastry Hall of
; Thank you very much, looking forward to hear from you.
>
> Regards,
> Najam.
>
>
>
> ___
> Tutor maillist - Tutor@python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
&g
> Tutor maillist - Tutor@python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
>
--
----------
*Sayan Chatterjee*
Dept. of Physics and Meteo
use this as an early example, showing you later how much
> elegantly it can be done.
>
>
> --
> DaveA
> __**_
> Tutor maillist - Tutor@python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/**mailma
Thanks all...I realized my mistake!!...:)
On 4 April 2013 20:12, Andreas Perstinger wrote:
> Sayan Chatterjee wrote:
>
> >I know this error occurs when one tries to multiply a string with a
> >fraction i.e float. In my case , I can't figure out how can a numpy
>
I attach the script herewith.
On 4 April 2013 19:10, Sayan Chatterjee wrote:
> Dear All,
>
> I know this error occurs when one tries to multiply a string with a
> fraction i.e float. In my case , I can't figure out how can a numpy
> floating point array be a string.
v_za_temp)
*TypeError: can't multiply sequence by non-int of type 'float'*
Please Help
Cheers,
Sayan
--
--
*Sayan Chatterjee*
Dept. of Physics and Meteorology
IIT Kharagpur
Lal Bahadur Shastry Hall of Resi
an Gauld wrote:
> On 27/03/13 17:36, Sayan Chatterjee wrote:
>
> 2) Traceback (most recent call last):
>>File "ZA.py", line 43, in
>> if p_za[i] > 4.0:
>> ValueError: The truth value of an array with more than one element is
>> ambiguou
March 2013 22:29, Walter Prins wrote:
> Hi Sayan,
>
> On 27 March 2013 16:31, Sayan Chatterjee wrote:
>
>> p_za = [None]*N is not giving away the error message.
>>
>> for i in range(0,N):
>> p_za.append = p_initial[i] + t*K*cos(K*p_initial[i]); is also not
t;)
> >
> >
> > Here I want to write different data sets in files having different name
> i.e
> > I want to create the files with the data sets. I am quite new to Python,
> so
> > you can assume zero knowledge while answering. Thanks for your support.
> :)
>
the C analogue of:
int array[200]
for(i=0;i<200;i++)
array[i] = 2*i + 5;
On 27 March 2013 21:44, Walter Prins wrote:
> Hi,
>
>
> On 27 March 2013 15:50, Sayan Chatterjee wrote:
>
>> Dear all,
>>
>> When trying to print or assign array elem
Putting "w" instead of "r+" probably solves the problem. The error is not
showing now.
On 27 March 2013 21:47, Sayan Chatterjee wrote:
> for t in range(0,200):
> fname = 'file_' + str(t)
>
> So it will assign fname values file_0, file_1 so on. Drop
27 March 2013 21:38, Walter Prins wrote:
> Hello,
>
> On 27 March 2013 15:59, Sayan Chatterjee wrote:
>
>> Hi Amit,
>>
>> fo = fopen('fname','r+')
>> fo.write("%d %d",j,counter)
>>
>>
>> Is giving the following er
mistake?
Cheers,
Sayan
On 27 March 2013 12:20, Amit Saha wrote:
> On Wed, Mar 27, 2013 at 4:49 PM, Sayan Chatterjee
> wrote:
> > Yes, ffmpeg will do if multiple plots can be generated using mathplotlib
> .
> > I'll look up the links you provided and get back to you, i
aching the code herewith.
--
------
*Sayan Chatterjee*
Dept. of Physics and Meteorology
IIT Kharagpur
Lal Bahadur Shastry Hall of Residence
Room AB 205
Mob: +91 9874513565
blog: www.blissprofound.blogspot.com
Volunteer ,
Yes, ffmpeg will do if multiple plots can be generated using mathplotlib .
I'll look up the links you provided and get back to you, if I can't figure
it out. :)
On 27 March 2013 12:12, Amit Saha wrote:
> On Wed, Mar 27, 2013 at 4:36 PM, Sayan Chatterjee
> wrote:
> >
; On Wed, Mar 27, 2013 at 4:23 PM, Amit Saha wrote:
> > Hi Sayan,
> >
> > On Wed, Mar 27, 2013 at 4:14 PM, Sayan Chatterjee
> > wrote:
> >> Dear All,
> >>
> >> I am a newbie to Python but have a fair know how of other languages i.e
> C
> >
ely,
Sayan
--
------
*Sayan Chatterjee*
Dept. of Physics and Meteorology
IIT Kharagpur
Lal Bahadur Shastry Hall of Residence
Room AB 205
Mob: +91 9874513565
blog: www.blissprofound.blogspot.com
Volunteer , Padakshep
www.pad
28 matches
Mail list logo