Filling Out the Array 2D Spectrum Data Structure

From The SBN Wiki
Jump to navigation Jump to search

The <Array_2D_Spectrum> class is a specialization of the Array_2D class. It exists to codify and enable validation of spectrum-specific requirements and hooks for software support that will be able to take advantage of assumptions and structures made for this data type.

For an Array_2D_Spectrum, follow the instructions for Filling Out the Array_2D Data Structure, with the following additional contraints/requirements:

  • Use <Array_2D_Spectrum> and </Array_2D_Spectrum> rather than <Array_2D> and </Array_2D>.
  • You must include a <Display_Settings> class from the Display Discipline Dictionary in the Discipline_Area of your label to describe the proper way to display the spectrum. If you disagree, contact your SBN consultant for an argument. See Filling Out the Display Dictionary Classes for more information.
  • You absolutely must include the <Spectral_Characteristics> class, with the appropriate subclasses, in the Discipline_Area of your label to describe the spectral characteristics of your spectrum data object. If you disagree, contact your SBN consultant for an argument. See Filling Out the Spectral Dictionary Classes for more information.