Skip to content

Commit

Permalink
argument corrected in contiguous..()
Browse files Browse the repository at this point in the history
  • Loading branch information
abhi0395 authored Aug 16, 2024
1 parent 776c335 commit c18b947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qsoabsfind/absfinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def convolution_method_absorber_finder_in_QSO_spectra(spec_index, absorber='MgII
else:
match_abs1 = -1*np.ones(len(pure_z_abs))
match_abs2 = z_abs_from_same_metal_absorber(pure_z_abs, lam_obs, residual, error, d_pix, absorber, logwave)
ind_z = contiguous_pixel_remover(pure_z_abs, sn1_all, sn2_all)
ind_z = contiguous_pixel_remover(pure_z_abs, sn1_all, sn2_all, absorber)
sel_indices = (match_abs1 == -1) & (match_abs2 == -1) & (ind_z == -1) # pure final absorber candidates

# Select final quantities based on sel_indices
Expand Down

0 comments on commit c18b947

Please sign in to comment.