You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the channel file structure for custom binning breaks SNEWPY's channel.dat dataframe. This is due to the 'SN_nu' tag put in the beginning of each line (needed to use a the custom binning postamble file ).
To get rid of the SN_nu tag while making the df use the following code
df_chan = pd.read_csv(path_chan, sep=" ", header=None)
if df_chan[0][0] == "SN_nu":
df_chan.drop(df_chan.columns[0], axis=1, inplace=True)
# then you can add the col names..
The text was updated successfully, but these errors were encountered:
Another change in the new SNOwGLoBES version is going to be that efficiency and smearing files are in detector-specific subdirectories, so we need to update the file paths in SimpleRate._load_efficiency_vectors() and SimpleRate._load_smearing_matrices() accordingly.
JostMigenda
changed the title
SNOwGLoGES 1.3 Compatibility
SNOwGLoBES 1.3 Compatibility
Aug 2, 2022
Currently the channel file structure for custom binning breaks SNEWPY's channel.dat dataframe. This is due to the 'SN_nu' tag put in the beginning of each line (needed to use a the custom binning postamble file ).
To get rid of the SN_nu tag while making the df use the following code
The text was updated successfully, but these errors were encountered: