avianz_types.go
package calls
// AviaNZMeta is the metadata element in a .data file
type AviaNZMeta struct {
Operator string `json:"Operator"`
Reviewer *string `json:"Reviewer,omitempty"`
Duration float64 `json:"Duration"`
}
// AviaNZLabel represents a species label in a segment
type AviaNZLabel struct {
Species string `json:"species"`
Certainty int `json:"certainty"`
Filter string `json:"filter"`
}
// AviaNZSegment represents a detection segment [start, end, freq_low, freq_high, labels]
type AviaNZSegment [5]any