Wideband autonomous SDR analysis engine forked from sdr-visual-suite
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 line
1.5KB

  1. package pipeline
  2. import "sdr-wideband-suite/internal/detector"
  3. type SurveillanceResult struct {
  4. Candidates []Candidate `json:"candidates"`
  5. Scheduled []ScheduledCandidate `json:"scheduled,omitempty"`
  6. Finished []detector.Event `json:"finished"`
  7. Signals []detector.Signal `json:"signals"`
  8. NoiseFloor float64 `json:"noise_floor"`
  9. Thresholds []float64 `json:"thresholds,omitempty"`
  10. }
  11. type RefinementPlan struct {
  12. TotalCandidates int `json:"total_candidates"`
  13. MinCandidateSNRDb float64 `json:"min_candidate_snr_db"`
  14. Budget int `json:"budget"`
  15. DroppedBySNR int `json:"dropped_by_snr"`
  16. DroppedByBudget int `json:"dropped_by_budget"`
  17. Selected []ScheduledCandidate `json:"selected,omitempty"`
  18. }
  19. type RefinementInput struct {
  20. Candidates []Candidate `json:"candidates,omitempty"`
  21. Scheduled []ScheduledCandidate `json:"scheduled,omitempty"`
  22. Plan RefinementPlan `json:"plan,omitempty"`
  23. Windows []RefinementWindow `json:"windows,omitempty"`
  24. SampleRate int `json:"sample_rate"`
  25. FFTSize int `json:"fft_size"`
  26. CenterHz float64 `json:"center_hz"`
  27. Source string `json:"source,omitempty"`
  28. }
  29. type RefinementResult struct {
  30. Signals []detector.Signal `json:"signals"`
  31. Decisions []SignalDecision `json:"decisions,omitempty"`
  32. Candidates []Candidate `json:"candidates,omitempty"`
  33. }