Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DetectorConfig ¶
type DetectorConfig struct { MinElementAtomicNumber int8 `json:"minElement"` MaxElementAtomicNumber int8 `json:"maxElement"` XRFeVLowerBound int32 `json:"xrfeVLowerBound"` XRFeVUpperBound int32 `json:"xrfeVUpperBound"` XRFeVResolution int32 `json:"xrfeVResolution"` WindowElementAtomicNumber int8 `json:"windowElement"` TubeElementAtomicNumber int8 `json:"tubeElement"` DefaultParams string `json:"defaultParams"` MMBeamRadius float32 `json:"mmBeamRadius"` }
Stored config
func ReadDetectorConfig ¶
func ReadDetectorConfig(svcs *services.APIServices, configName string) (DetectorConfig, error)
ReadDetectorConfig - Reads detector configuration given a name. Name is something like "PIXL" or "Breadboard" - one of the config subdirectories
Click to show internal directories.
Click to hide internal directories.