Package uk.ac.starlink.tfcat
Interface SpectralCoords
public interface SpectralCoords
Represents a TFCat SpectralCoords object.
- Since:
- 9 Feb 2022
- Author:
- Mark Taylor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Collection
<String> Permitted values for SpectralCoords scale attribute.static final Collection
<String> Permitted values for SpectralCoords type attribute. -
Method Summary
-
Field Details
-
TYPE_VALUES
Permitted values for SpectralCoords type attribute. -
SCALE_VALUES
Permitted values for SpectralCoords scale attribute.
-
-
Method Details
-
getType
String getType()Returns the spectral coordinate system type. This should be one of the members ofTYPE_VALUES
, currently "frequency", "wavelength", "energy" or "wavenumber".- Returns:
- system type
-
getUnit
String getUnit()Returns the unit string for this coordinate system.- Returns:
- unit
-
getScale
String getScale()Returns a token giving the scale type for the spectral coordinate system. This should be one of the members ofSCALE_VALUES
, currently "linear" or "log".- Returns:
- scaling type
-