Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( SPEED_OF_LIGHT = 299792458.0 // earth semimajor axis (m) RE_GRS80 float64 = 6378137.0 RE_WGS84 float64 = 6378137.0 // earth flattening FE_GRS80 float64 = 1.0 / 298.257222101 FE_WGS84 float64 = 1.0 / 298.257223563 )
Functions ¶
This section is empty.
Types ¶
type Combination ¶ added in v0.16.0
type Combination string
Combination is a type that defines the combination method for GNSS observables. IF = Ionosphere-Free NL = Narrow-Lane
func (Combination) MarshalJSON ¶ added in v0.16.0
func (c Combination) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for Combination.
func (*Combination) UnmarshalJSON ¶ added in v0.16.0
func (c *Combination) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for Combination.
type Config ¶ added in v0.16.0
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"
Output Output `json:"output"`
}
Config is a struct that defines the configuration for a GNSS processing run.
func NewConfigFromFile ¶ added in v0.16.0
NewConfigFromFile reads a JSON file and returns a Config struct.
func (*Config) MarshalJSON ¶ added in v0.16.0
MarshalJSON implements the json.Marshaler interface for Config.
func (*Config) UnmarshalJSON ¶ added in v0.16.0
UnmarshalJSON implements the json.Unmarshaler interface for Config.
type ElevationMaskBySystem ¶ added in v0.16.0
ElevationMaskBySystem is a map of GNSS systems to elevation mask values.
func NewElevationMaskBySystem ¶ added in v0.16.0
func NewElevationMaskBySystem() *ElevationMaskBySystem
NewElevationMaskBySystem returns a new ElevationMaskBySystem with default values.
func (ElevationMaskBySystem) MarshalJSON ¶ added in v0.16.0
func (e ElevationMaskBySystem) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for ElevationMaskBySystem.
func (*ElevationMaskBySystem) UnmarshalJSON ¶ added in v0.16.0
func (e *ElevationMaskBySystem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ElevationMaskBySystem.