Development status:
New development
Information status: Updated
Repository:
http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/Calculation/PyGenericSpectrumGenerator
Contact:
Class Description
- generate x and y spectrum from a specified function
- variables used in the function must be specified in properties and are dynamically generated as read attributes
Families: Calculation
Key words:
Platform: All Platforms
Language: Python
Contact:
Hardware
Manufacturer: none
Bus: Not Applicable
Class interface
Attributes:
| Name | Description |
|---|---|
| FunctionStringScalar: DevString | — |
| XdataSpectrum: DevFloat | — |
| YdataSpectrum: DevFloat | — |
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. |
| GenerateInput: DevVoid Output: DevVoid |
generate new variables |
Pipes:
Properties:
| Name | Description |
|---|---|
| FunctionDevString | function to evaluate a*x*x+b |
| VariablesDevString | Variables used in the function separated by , |
| RandomRangeStartDevFloat | start of range for random parameters |
| RandomRangeEndDevFloat | end of range for random parameters |
| XstartDevFloat | start of x data |
| XendDevFloat | end of x data |
| XstepDevFloat | step for x data |
| NoiseDevFloat | Noise factor to add to datas |
Please log in to comment.