ZH: rit flag to disable pol_and_bp in reconstruction

This commit is contained in:
Eric-Teunis de Boone 2023-01-20 14:35:12 +01:00
parent 7008e9e8ce
commit a58c34f843
2 changed files with 4 additions and 3 deletions

View file

@ -335,14 +335,15 @@ def fill_stations_propeties(e,res):
res.station_ids.append(ids)
#res.has_pulse.append(has_pulse)
def reconstruction(e,outfile='', slice_outdir=None, Xlow=300, Xhigh=1000, N_X=15):
def reconstruction(e,outfile='', slice_outdir=None, Xlow=300, Xhigh=1000, N_X=15, disable_pol_and_bp=False):
res = RITResult()
res.isMC.append(True)
res.zenith_ini.append(e.zenith)
res.azimuth_ini.append(e.azimuth)
res.core_ini.append(e.core)
set_pol_and_bp(e)
if not disable_pol_and_bp:
set_pol_and_bp(e, 0.03, 0.08)
#only use signal that have a signal in data
fill_stations_propeties(e,res)