developer.spectrogram.rebin

From autoplot.org

Jump to: navigation, search

Purpose: Work up a plan for introducing new rebin types and making a transition

Audience: developers and interested scientists

Contents

  1. The problem
  2. glossary
  3. new names for interpolation
  4. new names for color bars
  5. See also

1. The problem

Das2's spectrogram rebinning methods were developed for RPWS data produced by the group, and they do not serve the Autoplot community perfectly well. Nearest Neighbor rebinning was introduced at some point to try and improve the situation, but it has not been optimal. Also, many of the names are confusing. For example, "binAverage" is poor because it's the interpolation that make this routine uniq, and actually different styles of interpolation satisfy most of the needs of scientists.

What also makes this difficult is the names for the algorithms are used in the vap files.

2. glossary

  • rebinning--the task of going from the data space to the pixel space.

3. new names for interpolation

  • binAverage -> bilinearInterp or interpXinterpY
  • nearestNeighbor -> binXbinY
  • noInterpolate
  • noInterpolateNoEnlarge

4. new names for color bars

  • color_wedge -> rainbow
  • wrapped_color_wedge -> wrappedRainbow

5. See also

Personal tools