Skip to content

Commit

Permalink
Blue wavelengths on the right (fixes #98)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiopasra committed Jun 13, 2016
1 parent af7482b commit 53d154f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion megaradrp/simulation/instrument.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def project_rss(vis_fibs_id, pseudo_slit, vph, detector, sigma, wl_in, spec_in,
xcenter = detector.dshape[1] // 2
ycenter = detector.dshape[0] // 2

spos = -PIXSCALE * (np.arange(0, DSHAPE[1] * scale) - scale * xcenter) / scale
spos = PIXSCALE * (np.arange(0, DSHAPE[1] * scale) - scale * xcenter) / scale

wl_in_super = vph.ps_x_wl(y_ps_fibers, -spos, grid=True)
# revert
Expand Down

0 comments on commit 53d154f

Please sign in to comment.