When I download some GRBs from Swift, they have text in the redshift field. For example GRB 080905A gives
ValueError: could not convert string to float: '0.1218(emissionfromhost)'
This is the code I am running:
GRB = '080905A'
data = redback.get_data.get_bat_xrt_afterglow_data_from_swift(grb=GRB, data_mode="flux")
model = 'evolving_magnetar'
afterglow = redback.afterglow.SGRB.from_swift_grb(name=GRB, data_mode='flux',truncate=True, truncate_method="prompt_time_error")
When I download some GRBs from Swift, they have text in the redshift field. For example GRB 080905A gives
ValueError: could not convert string to float: '0.1218(emissionfromhost)'
This is the code I am running: