Hi All,
I tried to redefine half_light_r() to use LSST filters but got the following error. Any idea to fix this?
Regards,
Eric
Cell In[13], line 36, in ab_half_light_r(sim, band)
34 it = 0
35 #print(test_l, half_l)
---> 36 while ((np.abs(test_l - half_l) / half_l) > 0.01):
37 #while ((test_l - half_l / half_l) > 0.01) or ((test_l - half_l / half_l) < -0.01):
38 print(test_r, test_l, half_l)
39 it = it + 1
TypeError: bad operand type for abs(): 'CompositeUnit'