usgs / swarm

a Java application designed to display and analyze seismic waveforms in real-time.
http://volcanoes.usgs.gov/software/swarm
Other
36 stars 16 forks source link

Enhancement request: Spectrogram Options, set Max. frequency based on sample rate #195

Closed osop-raspishake closed 5 years ago

osop-raspishake commented 6 years ago

Currently, the default is 25.0 Hz. I suggest that if the sample rate is 100 sps, this should default to 50.0 Hz.

See: Wave settings >> Spectrogram Options >> Max. frequency

Branden

dlnorgaard commented 5 years ago

Hi Branden. The wave settings dialog is designed to take defaults from WaveDefaults.config. I'm not sure there's a good way to set the default dynamically without conflicting with this feature. If most of your data sources use a sample rate of 100 sps, you can change the default there.

osop-raspishake commented 5 years ago

Good solution. Thank you. When I set to 50 as default max, the spectrogram for 50 sps channels is automatically shown from 0 to 25 and not 0 to 50. Nice!

Closed.