[proFit-list] Importing numpy

Chris Lee laserboy at fusemail.com
Mon Dec 6 11:46:42 CST 2010


Can you provide a few more details, like the code snippet where the error occurs (or even the whole function) and the version of python and numpy you are using?

Cheers
Chris
On Dec 6, 2010, at 2:08 PM, Marco Coïsson wrote:

> Dear pro Fit users,
> I'm trying to develop a script in Python, which should run in pro Fit, which requires the arange() function of numpy. However, if I add at the beginning of the script the following statement:
> 
> import numpy as np
> 
> or even just:
> 
> from numpy import arange
> 
> upon execution I get the following error:
> 
> array is too big
> 
> and the above line is selected in the function window. The same (of course) happens if I try to import numpy from the Results window.
> 
> Any suggestions?
> Thank you and greetings,
> 
> Marco Coïsson
> 
> <><><>--------<><><>--------<><><>--------<><><>--------<><><>
> Marco Coïsson, PhD
> Researcher
> INRIM, Electromagnetism Division
> strada delle Cacce 91,
> I-10135 Torino (TO)
> Italy
> phone +39 011 3919 855
> fax +39 011 3919 834
> e-mail m.coisson at inrim.it - personal e-mail marco_coisson at me.com
> web http://www.inrim.it - personal homepage http://www.marco.coisson.namehttp://web.me.com/marco_coisson
> 
> 
> _______________________________________________
> proFit-list mailing list
> proFit-list at quantum-soft.com
> http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com




More information about the proFit-list mailing list