Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the procedure $XIDL_DIR/SPEC/LONGSLIT/PRO/BIAS/long_rdnoiseimg.pro, add at or near line 100:

rn_img = transpose(rn_img)

Wiki Markup
ENDIF ELSE IF strcmp(instrument, 'FIRE') THEN BEGIN
   rn_img = fltarr(nx,ny)
   rn_img\[*\] = 10.0

ENDIF ELSE IF strmatch(instrument, 'IMACS') OR $

N.B. If the line numbers change in future versions of xidl (and they may already have...), I've shown in gray the lines above and below where the new code should be inserted to work properly.

Wiki Markup
\[Note, this approximates the read noise for FIRE as 10e-, which is good enough for the purposes where this code is used.  For a detailed calculation of the noise model we must find the noise as a function of Fowler or SUTR reads, which will be implemented soon\]

...