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

    • serialVersionUID

      public static final long serialVersionUID
      See Also:
    • segmenterMasterPath

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

      public boolean useDetector
      True to use the detector
    • useClassifier

      public boolean useClassifier
      Use the classifier
    • threshold

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

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

      public boolean cuda
      Use the graphics card.
    • num_workers

      public String num_workers
      Number of workers?
    • audio_file

      public File audio_file
      Non user changeable
    • seq_len

      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

      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

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

      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

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

    • OrcaSpotParams2

      public OrcaSpotParams2()
  • Method Details

    • getMode

      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

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

      public String getThreshold()
    • getThreshold2

      public String getThreshold2()
    • setThreshold

      public void setThreshold(String threshold)
    • getPythonExe

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

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

      public String getClass_script()
    • getSegmenter_script

      public String getSegmenter_script()
    • getLog_Path

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

      public String getDetectorModel()
      Detection and Classification Models
    • getClassifierModel

      public String getClassifierModel()
    • getSeq_len

      public String getSeq_len()
      Audio Params
    • setSeq_len

      public void setSeq_len(String seq_len)
    • getHop_size

      public String getHop_size()
    • setHop_size

      public void setHop_size(String hop_size)
    • getcuda

      public Boolean getcuda()
    • setcuda

      public void setcuda(boolean cuda)
    • getNum_workers

      public String getNum_workers()
    • clone

      public OrcaSpotParams2 clone()
    • updateAllPaths

      public void updateAllPaths()