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

Provide different color map options for spectrograms #285

Closed rumachan closed 5 years ago

rumachan commented 5 years ago

It looks like Swarm uses a rainbow or jet color map (I think they are the same?) for it's spectrograms. As far as I am aware the color map is not selectable; only one map is provided. It would be helpful to provide a few additional color maps for the user to chose from. And maybe even change the default.

Rainbow/jet is widely known to not be perceptually uniform, which can add artificial highlights to your spectrogram.

Suggested additional color maps are (in the python world) viridis, plasma, magma, inferno, cividis.

Thanks.

iannesbitt commented 5 years ago

This was addressed in #275 and I believe commits have been put in place to allow user selection of either Inferno or Jet.

rumachan commented 5 years ago

Thanks, great minds think alike!

iannesbitt commented 5 years ago

Cheers, I'm glad others are also advocating for perceptual linearity!