Difference between revisions of "Filling Out the Array 2D Spectrum Data Structure"

From The SBN Wiki
Jump to navigation Jump to search
(Creation)
 
(Update for 1.6.0.0 release)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
The '''''<Array_2D_Spectrum>''''' class is a specialization of the ''Array_2D'' class.  It exists on the assumption that PDS will develop spectrum-specific software support that will be able to take advantage of assumptions and structures made for this data type.
+
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.   
 
 
{| class="wikitable" style="background-color: thistle"
 
| So far, none of that has happened, nor does it appear to be in any sort of serious planning stageThe ''Array_2D_Spectrum'' is defined in the schema as a restriction of the ''Array_2D'', but has the exact same definition.  Further, you may not use a ''Display_2D_Image'' class in this data structure, as you can for ''Array_2D_Image''.  So for now it makes more sense to ignore this class and stick ''Array_2D_Image''.
 
|}
 
  
 
For an ''Array_2D_Spectrum'', follow the instructions for [[Filling Out the Array_2D Data Structure]], with the following additional contraints/requirements:
 
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>'''.
 
* 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.

Latest revision as of 17:23, 22 March 2016

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.