detector

package
v2.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL