Development status:
New development
Information status: Updated
Repository:
http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/Calculation/PyGenericDataFitter
Contact:
Class Description
- another data fitter in python with scipy
- can fit all function specified in properties generate dynamic attributes for variables used in the function
Families: Calculation
Key words:
Platform: All Platforms
Language: Python
Contact:
Hardware
Manufacturer: none
Bus: Not Applicable
Class interface
Attributes:
| Name | Description |
|---|---|
| DeviceAttributeNameXScalar: DevString | — |
| DeviceAttributeNameYScalar: DevString | — |
| nbDataScalar: DevLong | — |
| nbIterationMaxScalar: DevLong | — |
| epsilonScalar: DevDouble | — |
| nbIterationsScalar: DevLong | — |
| Chi_squareScalar: DevDouble | — |
| experimentalDataXSpectrum: DevDouble | — |
| experimentalDataYSpectrum: DevDouble | — |
| fittedFunctionParametersSpectrum: DevDouble | — |
| InitialFunctionParametersSpectrum: DevDouble | — |
| fittedDataXSpectrum: DevDouble | — |
| fittedDataYSpectrum: DevDouble | — |
Commands:
| Name | Description |
|---|---|
| StateInput: DevVoid Output: State |
This command gets the device state (stored in its device_state data member) and returns it to the caller. |
| StatusInput: DevVoid Output: DevString |
This command gets the device status (stored in its device_status data member) and returns it to the caller. |
| StartFitInput: DevVoid Output: DevVoid |
Method to start fit with entry values : - experimentalDataX - experimentalDataY - experimentalDataSigma If the fitting succeed the output result are in : - fittedDataX - fittedDataY - fittedFunctionParameters |
Pipes:
Properties:
| Name | Description |
|---|---|
| DeviceAttributeNameXDevString | Path to the attribute X of the device providing the X values of the spectrum. |
| DeviceAttributeNameYDevString | Path to the attribute Y of the device providing the Y values of the spectrum. |
| FittingFunctionDevString | fitting function a*x+b -> a*x+b |
| FittingVariablesDevString | Variables used in the fitting function separated by , |
| DelayTimeDevFloat | Delay between two fitting process, when fitting process is continous |
| ContinuousModeDevBoolean | Define if devise is fitting continuously of manually after StartFit command false - manually true- continuously |
Please log in to comment.