SpectraData

Enum DisplayableTypes

  • Raw, Baseline, BaselineCorrected, Denoised, Centroids, Peaks

Public Members

  • Name - spectra name
  • Classification[] - collection of classifications(string descriptors) for this spectra
  • Color - color to represent this spectra
  • RawCurve[] - collection of points creating raw signal
  • BaselineCurve[] - collection of points creating baseline curve
  • BaselineCorrectedCurve[] - collection of points representing the raw signal after baseline correction
    • Possibly can be derived instead of stored separate?
  • DenoisedCurve[] - collection of points showing denoised data
    • Possibly can just be a collection of indices of 'valid' points from RawCurve?
  • Centroids[] - collection of ranges (start and end point) of centroids
    • Possibly can be derived from DenoisedCurve?
  • Peaks[] - collection of points showing peaks
    • The same as the DenoisedCurve, drawn differently?

Possible Issues

  • Memory size limitation for numerous spectra
    • Possibly use memory-mapped version?
      • Hold file index of most-recently acessed leftmost point (left limit of window) and continue to read from there onwards
      • Keep a cache of 50 or so points ('valid points' as defined in SpectraDisplay) in memory for redrawing
    • Possibly draw once as static bitmap, then only redraw on zoom?
      • Would have to calculate visibility of points, and only draw over parts of current image if the visibility would change or be effected.
      • Somewhat complex system of layering to determine what must be redrawn, but system could be reused
      • Occlusion detection algorithms for adding information - removing information same, just set color to white
      • Policy of always adding most recent information to top?

Topic revision: r6 - 04 May 2005, NimishGautam
This site is powered by FoswikiCopyright &© 2013-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Vanderbilt Biostatistics Wiki? Send feedback