java.lang.Object
rawDeepLearningClassifier.dlClassification.orcaSpot.OrcaSpotParams2
All Implemented Interfaces:
Serializable, Cloneable

public class OrcaSpotParams2 extends Object implements Serializable, Cloneable
Stored settings for the OrcaSpot module.
Author:
Jamie Macaulay
See Also:
  • Field Details Link icon

    • serialVersionUID Link icon

      public static final long serialVersionUID
      See Also:
    • segmenterMasterPath Link icon

      public String segmenterMasterPath
      The master path to the segmentor python folder.
    • useDetector Link icon

      public boolean useDetector
      True to use the detector
    • useClassifier Link icon

      public boolean useClassifier
      Use the classifier
    • threshold Link icon

      public String threshold
      The threshold to apply to the initial prediction stage
    • threshold2 Link icon

      public String threshold2
      The threshold to apply to the later classification stage.
    • cuda Link icon

      public boolean cuda
      Use the graphics card.
    • num_workers Link icon

      public String num_workers
      Number of workers?
    • audio_file Link icon

      public File audio_file
      Non user changeable
    • seq_len Link icon

      public String seq_len
      The length of audio to analyse in seconds (This should be set the same as length of input file and is not user changeable);
    • hop_size Link icon

      public String hop_size
      The hop size to use in seconds (This should be set the same as length of input file and is not use changeable)
    • classiferFile Link icon

      public String classiferFile
      The location of .exe file that runs the Deep Learning classifier.
    • mode Link icon

      public String mode
      The classification mode. 0 means only segmentation Orca no Orca 1 means segmentation and classification Orca; Type n something, 2 means only Classification Type n something.
    • sampleRate Link icon

      public String sampleRate
      The sample rate in samples per second
  • Constructor Details Link icon

    • OrcaSpotParams2 Link icon

      public OrcaSpotParams2()
  • Method Details Link icon

    • getMode Link icon

      public String getMode()
      Get the current classification mode. 0 means only segmentation Orca no Orca 1 means segmentation and classification Orca; Type n something, 2 means only Classification Type n something. return the classification mode
    • getSample_rate Link icon

      public String getSample_rate()
      Get the sample rate in samples per second
      Returns:
      the sample rate.
    • getThreshold Link icon

      public String getThreshold()
    • getThreshold2 Link icon

      public String getThreshold2()
    • setThreshold Link icon

      public void setThreshold(String threshold)
    • getPythonExe Link icon

      public String getPythonExe()
      Get the path to the PythonExe file in the correct virtual environment.
      Returns:
      the Python exe file path.
    • getPredict_script Link icon

      public String getPredict_script()
      Get the main prediction script for running the detector and classifier.
      Returns:
      the prediction script file path.
    • getClass_script Link icon

      public String getClass_script()
    • getSegmenter_script Link icon

      public String getSegmenter_script()
    • getLog_Path Link icon

      public String getLog_Path()
      Path to the log for OrcaSpot.
      Returns:
    • getDetectorModel Link icon

      public String getDetectorModel()
      Detection and Classification Models
    • getClassifierModel Link icon

      public String getClassifierModel()
    • getSeq_len Link icon

      public String getSeq_len()
      Audio Params
    • setSeq_len Link icon

      public void setSeq_len(String seq_len)
    • getHop_size Link icon

      public String getHop_size()
    • setHop_size Link icon

      public void setHop_size(String hop_size)
    • getcuda Link icon

      public Boolean getcuda()
    • setcuda Link icon

      public void setcuda(boolean cuda)
    • getNum_workers Link icon

      public String getNum_workers()
    • clone Link icon

      public OrcaSpotParams2 clone()
    • updateAllPaths Link icon

      public void updateAllPaths()