Hi, in the 301.1. DP2 overview tutorial
the offset is computed as
offsets = np.sqrt((visit_table[‘ra’]-ra)**2 + (visit_table[‘dec’]-dec)**2)
(e.g in section 2.2. Filter distributions, Cell 13, but not only).
Shouldn’t the offset include the cos(Dec) correction factor for spherical coordinates, i.e.:
offsets = np.sqrt(((visit_table[‘ra’]-ra)*np.cos(np.radians((visit_table[‘dec’] + dec) / 2)))**2 + (visit_table[‘dec’]-dec)**2)
leading to slightly different numbers (e.g table field_filt_dist)?
Best
Giuseppe
1 Like
Yes it absolutely should thank you Giuseppe, the tutorial has been updated.
1 Like