Package Acquisition

Class DaqSourceInfo

java.lang.Object
Acquisition.DaqSourceInfo

public class DaqSourceInfo extends Object
information to pass around with raw data units giving information about the acquisition source. This will probably be most useful when reprocessing data from files, since it gives the opportunity to pass around the file name and sample number / time within a file, so that these can eventually be written to output data along with detections. This goes somewhat against previous philosophy of PAMGuard of doing everything on UTC timestamps and telling the user to work out which file thier data came from, but I'm getting soft and appreicating that having a file name and a sample number in a database table will be helpful to a lot of poeple.
Author:
dg50
  • Method Details

    • clone

      public DaqSourceInfo clone()
      Overrides:
      clone in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getSourceName

      public String getSourceName()
      Returns:
      the sourceName
    • setSourceName

      public void setSourceName(String sourceName)
      Parameters:
      sourceName - the sourceName to set
    • getSeconds

      public double getSeconds()
      Returns:
      the seconds
    • setSeconds

      public void setSeconds(double seconds)
      Parameters:
      seconds - the seconds to set