Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Passing data to Labview gives NoneType
#1
Hello, I am trying to run some Python code through Labview involving the lmfit module. The minimize() function of the lmfit module outputs a Parameter() object containing the fitting results. The data in this object can, for example, be called using
self.params['A'].value
This gives the value of fitting parameter A. So far so good. Passing this to labview as a float data type works. However when I try to pass the standard devation value from the Parameter() object using
self.params['A'].stderr
Labview then gives the following error:
Error:
Python returned the following error: <class 'TypeError'> must be real number, not NoneType
However, executing the exact same code in Spyder does give the correct stderr value, while Labview stated there is a NoneType. What seems to be the problem here? How can the value from example 1 be okay, while stderr from example 2 not Think
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Passing basic auth data between views nikos 0 279 Feb-13-2019, 09:32 PM
Last Post: nikos

Forum Jump:


Users browsing this thread: 1 Guest(s)