nclt2ros/extractor/read_sensor_data.py
def read_kvh_csv(self, all_in_one=None):
        """reads the data in the kvh csv file

        :param   all_in_one: Boolean
        :return: ndarray: containing all data, if all_in_one is True
                 else
                 each column seperated as utimes, heading in rad
        """
        if self.sensor_data_flag:

            kvh = np.loadtxt(self.sensor_data_dir + '/%s/kvh.csv' % self.date, delimiter=",")

            if all_in_one is True:

                return kvh

            else:

                utimes    = kvh[:, 0]
                heading   = kvh[:, 1]

                return utimes, heading
        else:
            raise ValueError('no sensor_data directory available')
reads the data in the kvh csv file

        :param   all_in_one: Boolean
        :return: ndarray: containing all data, if all_in_one is True
                 else
                 each column seperated as utimes, heading in rad
        
reads the data in the kvh csv file
reads the data in the kvh csv file
def read_kvh_csv(self, all_in_one=None):
        if self.sensor_data_flag:
            kvh = np.loadtxt(self.sensor_data_dir + '/%s/kvh.csv' % self.date, delimiter=",")
            if all_in_one is True:
                return kvh
            else:
                utimes    = kvh[:, 0]
                heading   = kvh[:, 1]
                return utimes, heading
        else:
            raise ValueError('no sensor_data directory available')
def read_kvh_csv ( self , all_in_one = None ) : if self . sensor_data_flag : kvh = np . loadtxt ( self . sensor_data_dir + '/%s/kvh.csv' % self . date , delimiter = "," ) if all_in_one is True : return kvh else : utimes = kvh [ : , 0 ] heading = kvh [ : , 1 ] return utimes , heading else : raise ValueError ( 'no sensor_data directory available' )
reads the data in the kvh csv file
reads the data in the kvh csv file
"""reads the data in the kvh csv file

        :param   all_in_one: Boolean
        :return: ndarray: containing all data, if all_in_one is True
                 else
                 each column seperated as utimes, heading in rad
        """
containing all data, if all_in_one is True
else
each column seperated as utimes, heading in rad
containing all data if all_in_one is True else each column seperated as utimes heading in rad
self
all_in_one
None