Skip to content

Commit

Permalink
lifting masking on first/last 3 columns & updating arc line width low…
Browse files Browse the repository at this point in the history
…er limit (fiber 324)
  • Loading branch information
ajmejia committed Oct 23, 2024
1 parent 5342fc9 commit d62d5e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/lvmdrp/functions/rssMethod.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def determine_wavelength_solution(in_arcs: List[str]|str, out_wave: str, out_lsf
bg_guess: float = 0.0,
flux_range: List[float] = [100.0, numpy.inf],
cent_range: List[float] = [-4.0, 4.0],
fwhm_range: List[float] = [2.0, 4.5],
fwhm_range: List[float] = [1.5, 4.5],
bg_range: List[float] = [-1000.0, numpy.inf],
poly_disp: int = 6, poly_fwhm: int = 4,
poly_cros: int = 0, poly_kinds: list = ['poly', 'poly', 'poly'],
Expand Down Expand Up @@ -366,8 +366,8 @@ def determine_wavelength_solution(in_arcs: List[str]|str, out_wave: str, out_lsf
# cross-match spectrum and pixwav map
stretch_min, stretch_max, stretch_steps = 0.95, 1.05, 10000
cc, bhat, mhat = _cross_match_float(
ref_spec=pix_spec[3:-3],
obs_spec=arc._data[ref_fiber][3:-3],
ref_spec=pix_spec,
obs_spec=arc._data[ref_fiber],
stretch_factors=numpy.linspace(stretch_min, stretch_max, stretch_steps),
shift_range=[-cc_max_shift, cc_max_shift],
normalize_spectra=False,
Expand Down

0 comments on commit d62d5e1

Please sign in to comment.