ascii_file_to_frame_data

sofia_redux.scan.utilities.utils.ascii_file_to_frame_data(ascii_file)[source]

Convert time stream data from a ascii file to a numpy array.

Parameters:
ascii_filestr

The filename for the ascii file. Output from SOFSCAN via the “write.ascii” configuration option.

Returns:
frame_datanumpy.ndarray (float)

The frame data of shape (n_frames, n_channels).