PapcoDoc/documents/spectrogram2
From PapcoWiki
Contents |
[edit]
New Spectrogram Routine
[edit]
Motivation
Use dataset operators to create a spectrogram routine. Advantages:
- This will be smaller, since dataset operators do the heavy work. Smaller means improved reliability and serviceability.
- more describable, since the dataset operator vocabulary is used.
- faster, since fast dataset operators are used.
[edit]
Specification
- works transparently between PS and screen devices
- support replace this number with color functionality of legacy plot_color.
- support all the legacy keywords.
- all valid measurements should influence the result
- when pixel resolution is as fine as data resolution, individual measurements should be visible.
[edit]
Implementation
The general idea is to use papco_ds_grid to create a integer multiple grid of the screen resolution. Then papco_ds_rebin is used to do the reduction. This will be very fast, but at a higher memory cost. (Memory is cheap now.)

