Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Combination ¶
type Combination string
Combination is a type that defines the combination method for GNSS observables. IF = Ionosphere-Free NL = Narrow-Lane
func (Combination) MarshalJSON ¶
func (c Combination) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for Combination.
func (*Combination) UnmarshalJSON ¶
func (c *Combination) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for Combination.
type Config ¶
type Config struct {
Name string `json:"name"`
SystemSignalMapping *observation.ObservationsBySystem `json:"system_signal_mapping"`
ElevationMasks *ElevationMaskBySystem `json:"elevation_masks"`
Coordinates coordinates.Vector3D `json:"coordinates"`
SampleInterval int `json:"sample_interval"` // in milliseconds
MWSlipThreshold float64 `json:"mw_slip_threshold"`
Combination string `json:"combination"` // "IF" or "NL"
EphemerisPriority ephemeris.EphemerisPriority `json:"ephemeris_priority,omitempty"`
Output Output `json:"output"`
}
Config is a struct that defines the configuration for a GNSS processing run.
func NewConfigFromFile ¶
NewConfigFromFile reads a JSON file and returns a Config struct.
func (*Config) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Config.
func (*Config) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Config.
type ElevationMaskBySystem ¶
ElevationMaskBySystem is a map of GNSS systems to elevation mask values.
func NewElevationMaskBySystem ¶
func NewElevationMaskBySystem() *ElevationMaskBySystem
NewElevationMaskBySystem returns a new ElevationMaskBySystem with default values.
func (ElevationMaskBySystem) MarshalJSON ¶
func (e ElevationMaskBySystem) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for ElevationMaskBySystem.
func (*ElevationMaskBySystem) UnmarshalJSON ¶
func (e *ElevationMaskBySystem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ElevationMaskBySystem.