sarracen.read_phantom_ev
- sarracen.read_phantom_ev(filename: str) DataFrame
Read a Phantom .ev file and return a pandas DataFrame of the data.
Each row of the DataFrame corresponds to a single line of the .ev file. The reader will skip any header lines that start with ‘#’. It assumes the last header line contains the column names. Values are generally stored as np.float64, but the reader will attempt to identify str and int values.
- Parameters:
filename (str) – Name of the file to be loaded.
- Return type:
pandas DataFrame