Class RWSpeciesManager

java.lang.Object
tethys.species.DataBlockSpeciesManager<RWEDataUnit>
RightWhaleEdgeDetector.species.RWSpeciesManager

public class RWSpeciesManager extends DataBlockSpeciesManager<RWEDataUnit>
  • Constructor Details

  • Method Details

    • getSpeciesCodes

      public DataBlockSpeciesCodes getSpeciesCodes()
      Description copied from class: DataBlockSpeciesManager
      Object that contains a list of species codes. This may be fluid between configurations and may change during a session, e.g. through the addition of a new click type or changes to the whistle classifier settings.
      Specified by:
      getSpeciesCodes in class DataBlockSpeciesManager<RWEDataUnit>
      Returns:
      object containing a list of species types.
    • getSpeciesCode

      public String getSpeciesCode(RWEDataUnit dataUnit)
      Description copied from class: DataBlockSpeciesManager
      Gets a species string for a specific data unit, This is abstracted since different detectors store this in non standard ways. The result of this should be within the set provided by getSpeciesCodes() which can then be used in the DataBlockSpeciesMap to look up an itis code.
      Specified by:
      getSpeciesCode in class DataBlockSpeciesManager<RWEDataUnit>
      Returns:
      A species code for a specific data unit. May be null (e.g. for an unclassified click)