Package nds2

Class segment


  • public class segment
    extends java.lang.Object

    An availability segment defines when data is available.

    LIGO data is not always avaialble. Channels are added, removed,
    the data collection services or the instrument have downtime. This
    structure holds information about a time span when data is available.
    An individual segment holds data on when a channel (not specified in the
    structure) was available in a specific frame type in a given [start,stop) time frame.

    This information is only available for NDS2

    • Constructor Detail

      • segment

        protected segment​(long cPtr,
                          boolean cMemoryOwn)
      • segment

        public segment()
      • segment

        public segment​(int gps_start,
                       int gps_stop)
      • segment

        public segment​(java.lang.String frame_type,
                       int gps_start,
                       int gps_stop)
    • Method Detail

      • getCPtr

        protected static long getCPtr​(segment obj)
      • finalize

        protected void finalize()
        Overrides:
        finalize in class java.lang.Object
      • delete

        public void delete()
      • setFrameType

        public void setFrameType​(java.lang.String value)
      • getFrameType

        public java.lang.String getFrameType()
      • setGpsStart

        public void setGpsStart​(int value)
      • getGpsStart

        public int getGpsStart()
      • setGpsStop

        public void setGpsStop​(int value)
      • getGpsStop

        public int getGpsStop()