 scaled each galaxy frame by a constant, generally within a percent of unity, to optimize the sky cancellation. This technique of differencing neighboring two–dimensional spectra usually removes the sky emission lines accurately. For a few galaxies, the resultant sky subtraction was not adequate. In these exposures, the sky lines in a set of frames were offset along the dispersion axis by $0.005$ to $0.01$ pixels, suggesting a slight, monotonic shift in the grating tilt. To improve the cancellation, we used `onedspec.identify` and `onedspec.reidentify` to fit, for each frame, a linear shift in the position of the airglow lines with respect to a reference frame. We then used `images.imgeom.imshift` to shift the frames, using linear interpolation, to zero the offsets. This was done for H–band frames of NGC 4861, He 2–10, NGC 4102, and NGC 3504 as needed.

The next step in the reduction was to combine the frames within a set. Offsets were determined by summing each frame down the dispersion axis and measuring the location of the continuum peak in the resulting one-dimensional image. Frames were magnified by a factor of six to permit fractional pixel shifts, which minimizes smearing of the data and maximizes preservation of flux during the next step of straightening. Magnified images were then remapped to make the spatial axis perpendicular to the dispersion axis. This remapping is accomplished by fitting the tilt of the dispersion axis as a cubic polynomial; this function is well–defined and does not vary with time. Straightening the spectra in this manner simplifies subsequent extraction, stacking, and wavelength calibration [@chad_reduction].

Frames were then median combined with `imcombine` using no rejection, and using scale and weight factors determined from each frame’s median continuum strength (generally within $20\%$ of unity). Frames were then de-magnified. Bad pixels were replaced with the average of their immediate two neighbors along the dispersion axis.

A similar procedure created two–dimensional sky frames suitable for wavelength calibrations. The frames were straightened and median combined as before, but without weights, scales, or offsets. The resulting images have no continua, only sky lines. A high signal–to–noise 1–D sky spectrum was then created by taking, at each wavelength, the median value over all spatial positions.

We then
scaled each galaxy frame by a constant, by and large within a percentage of unity, to optimize the sky cancellation. This technique of differencing neighbor two – dimensional spectrum usually removes the sky discharge wrinkle accurately. For a few galaxies, the attendant sky subtraction was not adequate. In these exposure, the sky note in a set of frames were offset along the distribution axis by $ 0.005 $ to $ 0.01 $   pixels, suggesting a slender, monotonic shift in the grate tilt. To improve the cancellation, we used 'onedspec.identify 'and 'onedspec.reidentify 'to equip, for each frame, a linear shift in the position of the airglow lineage with respect to a reference frame. We then used 'images.imgeom.imshift 'to shift the frame, using linear interpolation, to zero the offsets. This was done for planck's constant – band frames of NGC   4861, He   2–10, NGC   4102, and NGC   3504 as needed. 

 The next step in the reduction was to combine the frames within a set. Offsets were determine by summing each frame down the distribution bloc and measuring the location of the continuum peak in the resulting one - dimensional picture. Frames were blow up by a factor of six to permit fractional pixel shift, which minimizes smearing of the data and maximizes preservation of flux during the next step of straightening. overstate images were then remapped to make the spatial axis perpendicular to the distribution axis. This remapping is achieve by fit the tilt of the dispersion axis as a cubic polynomial; this affair is well – defined and does not vary with time. straighten the spectra in this manner simplifies subsequent extraction, stacking, and wavelength calibration [ @chad_reduction ]. 

 Frames were then median combined with 'imcombine 'using no rejection, and use scale and weight unit factors determined from each human body ’s median continuum strength (by and large within $ 20\%$ of unity). Frames were then de - magnify. Bad pixel were replaced with the average of their immediate two neighbors along the distribution axis. 

 A similar procedure created two – dimensional sky frames suitable for wavelength calibrations. The frames were straightened and median combined as before, but without weight, scales, or offsets. The result images have no continua, only sky lines. A high signal – to – randomness 1 – D sky spectrum was then created by taking, at each wavelength, the median value over all spatial positions. 

 We then
 scwled each galaxy frame bn a constant, gengrqlly wmthin a percent of unity, to optimize the skb cabcellqtion. This technique ow differejcing neughbieing two–dimensional specfva usbaoly removes thg sky emissimn lines accurdtdlv. For a few galaxies, the resultant shy subttaftion was not wdeqlaee. Ih these exposures, the sky lines in a set mf frames werr offset along the disperslon wxis by $0.005$ to $0.01$ pixels, suggesting a sjught, monotonkc shift in the gratinf tilt. To improve the cancellatkon, wz used `onedwpwc.ifgntify` and `oiedspeb.reidentify` to fit, fos each grame, a linear shmft un the position of thx airglow lines with respect do a reference framw. Qe thgn usad `ioqger.imfepm.jmshifh` tk shift ths frames, usung linear interpolstyin, to zero ths offsqtf. This was done for H–band frames of NGC 4861, He 2–10, NGC 4102, and NGC 3504 as needed.

Tye next step in the rgduction wws to combine the frames within a set. Offsets wera detxrointd by sjnmlng each frame down the dispersion axis and mqzsirpng the location jf the contonkuk peak in the tesultiuf kne-dimensional imahe. Framgs werw magnifitd by a factor of six to permit dractional ppxel shifts, which minilizes smearnng of the cata and maximizes preszrvatikn of flux furing ths next step of stfainhtaning. Magnified images werq then renappzd to maye tne spaeial axis oerpekgicular to the disoersiln axis. This remapping is accomplished by fmvting the tilj ox tve dispexsion sxis as a cubyc polynomial; jhis funccion ir well–defihed and does not vwry with time. Dtraighteninj the spestra in rhis mavver simplifies subsequeuu extractiin, stacking, and wayelenefh calibration [@ekae_reduction].

Framex wdre tjei medydn combined fith `imzpmbind` using no vejdctipn, and using scale atd wsight factors detetmlned from each frwme’s median cpntinuum strength (henerelly wmthin $20\%$ of unity). Frames were then de-magnjfied. Bad piwels were repjacee with the arerage of their immediate two neighbors elong the dispersion axus.

A similar procedute greated two–dmmensijnal sky xrames suitable for qavelength calibrstions. The frames wers strahghtejed and median combined as before, but without weights, scales, or offsets. Tye resnleing images havr no boncinba, only sky uines. A high sigmal–to–noise 1–D sky spectrum was tien createg yy taking, at each wavelength, yhd median valug over all spatial positiohs.

We them
scaled each galaxy frame by a constant, a of unity, optimize the sky neighboring spectra usually removes sky emission lines For a few galaxies, the resultant subtraction was not adequate. In these exposures, the sky lines in a set frames were offset along the dispersion axis by $0.005$ to $0.01$ pixels, suggesting slight, shift the tilt. To improve the cancellation, we used `onedspec.identify` and `onedspec.reidentify` to fit, for each frame, a shift in the position of the airglow lines respect to a reference We then used `images.imgeom.imshift` to the using linear to the This was done H–band frames of NGC 4861, He 2–10, NGC 4102, and NGC 3504 as needed. The next step the reduction combine the within set. were determined by frame down the dispersion axis and of the continuum peak in the resulting one-dimensional Frames were by a factor of six to fractional pixel shifts, which minimizes smearing of the and maximizes preservation of flux during the next step of straightening. Magnified images were then make the spatial axis to the dispersion This is by the tilt the dispersion axis as a cubic polynomial; this function is well–defined does not vary with time. Straightening the spectra in this subsequent stacking, and wavelength [@chad_reduction]. Frames were then combined `imcombine` using no rejection, scale weight each median strength (generally within $20\%$ unity). Frames were then de-magnified. pixels were replaced with two neighbors along the dispersion axis. A similar created two–dimensional sky frames suitable for wavelength The frames were straightened and median combined as before, but without weights, or offsets. images have no continua, only sky lines. A signal–to–noise 1–D sky spectrum then created by taking, at each wavelength, the median over spatial positions. then
 scaled each galaxy frame by a cOnstant, genErallY wiThiN a PercEnt oF unity, to optimiZE the Sky cancellation. This tecHniquE oF DiffEReNcing NeighboRInG TWo–dImEnSioNaL SpEctra UsuAlly remOves the sky EmiSsIon lines accuRAtEly. For a few GalAxies, the resuLtaNt sky sUbTraCTion wAs nOt adeQuate. IN These eXposures, tHe SKy lineS In a set oF FRaMes wEre offset along the DIsPErsion axis by $0.005$ to $0.01$ Pixels, SuGGeSTIng A slIght, monotoNiC shifT In the grATiNG TIlt. tO improve the caNcellation, wE UseD `onedsPeC.idENtify` aNd `oneDsPEc.rEidentify` to Fit, fOr each fraMe, a linEAr shift IN the posItion oF thE aiRgloW LiNeS wiTh REspECt To a REfeRence fraMe. we Then uSed `iMAGES.imgEom.ImshIft` to Shift the frameS, usIng lINeaR inteRpolaTion, To Zero tHe offsEts. ThIs Was done for H–band FramEs of NGC 4861, He 2–10, nGC 4102, AnD NGc 3504 aS needED.

The neXt sTep In the reDuction WAs tO cOMBInE the frames within a sEt. oFFsEts were dEtermiNEd By SUmming eaCh FraMe doWN The diSperSIoN axis and MeasurINg ThE locatiOn Of the cOnTinUum Peak iN The rEsultiNg one-dimEnsioNAl image. Frames wERe magnified by A FaCTOr OF six To pErmit fractiOnal PIxel ShifTS, wHicH MinimIzes sMeARiNG of the data and maximiZeS preseRvatiOn of flux durinG the next stEP OF straighTeniNG. MAGnified images wEre thEn remapped TO make the SpatiAl axis peRpendiculAR To the disPerSioN axIs. THIS rEmapping is accOMPlisHeD by fittIng The tilt Of tHe dIspErsIoN axis as a cUbic polyNoMiAl; ThIs fUnctiON is well–dEfIneD aNd dOes noT Vary wiTh timE. StrAiGhTEniNg the spECtRA In thIs MaNner SimPlIfies SubsEQueNt extraCtion, stacKinG, And wAvElEngth caLibration [@chad_ReDuction].

FraMeS weRe then MEDian combIned with `imcombine` using nO RejectiOn, aNd usiNg scAle and weiGht FactorS deTErmineD from eAch frAmE’s mEDIan coNTInUum StRength (geneRALly WithiN $20\%$ oF uniTy). FrameS were then de-magnifiED. BaD pixels were rePlaCed wITH tHe aVErAGe oF tHEir IMMediate two neighBors along tHe DIsPersion axiS.

a siMiLar procEdure crEated TWo–dimenSional sky Frames suiTaBle fOR WavElength calIbrationS. The frameS Were sTRaIghteNed And medIaN coMbineD as befORe, bUt witHout weIgHts, scaLes, or OfFsets. The Resulting images have no coNtinua, Only sKy lInes. A high SigNAl–tO–noise 1–D skY speCtrum was thEn cReaTed by TakINg, at eAch wAVeLenGTh, the MediAN value oveR AlL spATIaL positions.

WE THEn
 scaled each galaxy frameby a const ant,gen era ll y wi thin  a percent ofu nity , to optimize the skycance ll a tion .  T his t echniqu e  o f dif fe re nci ng ne ighbo rin g two–d imensional  sp ec tra usuallyr em oves the s kyemission lin esaccura te ly. For a  fe w gal axies, the re sultant s ky subtra c tion wa s no t ad equate. In thesee xp o sures, the sky  lines  i n  a s etofframes wer eoffse t  alongt he d i spe r sion axis by$0.005$ to$ 0.0 1$ pix el s,s uggest ing a  s l igh t, monotoni c sh ift in th e grat i ng tilt .  To imp rove t hecan cell a ti on , w eu sed `o ned s pec .identif y`  a nd `o neds p e c . reid ent ify`  to f it, for eachfra me,a  li nearshift  inth e pos itionof th eairglow lines w ithrespect t o a  r efe re nce f r ame. W e t hen  used ` images. i mge om . i m sh ift` to shift thefr a m es , usinglinear in te r polation ,tozero t he of fset s .This was  donef or  H –band f ra mes of  N GC486 1, He 2–10 , NGC4102, an d NGC 3504 as needed . 

The next st e pi n  t h e re duc tion was to  com b inethef ra mes withi n a s et .  O f fsets were determin ed  by su mming  each frame d own the di s p e rsion ax is a n dm easuring the l ocati on of thec ontinuum  peak  in theresulting o ne-dimen sio nal  im age . Fr ames were mag n i fied  b y a fac tor  of six  to  pe rmi t f ra ctional p ixel shi ft s,  w hi chminim i zes smea ri ngof  th e dat a  and m aximi zespr es e rva tion of fl u x  dur in gthenex tstepof s t rai ghtenin g. Magnif ied imag es  w ere the n remapped to  m ake the sp at ial  axisp e rpendicu lar to the dispersion a x is. Thi s r emapp ingis accomp lis hed by  fi t ting t he til t ofth e d i s persi o n  a xis  a s a cubicp o lyn omial ;this  functi on is well–defined and  does not var y w itht i me . S t ra i ght en i ngt h e spectra in th is mannersi m pl ifies subs e que nt  extrac tion, s tacki n g, andwavelengt h calibra ti on [ @ c had _reduction ].

Fram es were t h en me d ia n com bin ed wit h`im combi ne` us i ngno re jectio n,  and u singsc ale andweight factors determin ed fro m eac h f rame’s me dia n  co ntinuum s tren gth (gener all y w ithin  $2 0 \%$ o f un i ty ).F rames  wer e  then de- m ag nif i e d.  Bad pixels w e rerepla ced with t he a verage of their i m mediate two ne ighb o r s a lon g  the  d ispersion axis .
As i milar pr oc edure creat ed two–d im e nsion al sky  frame s suita b l ef or wav elen gth  calibrat ion s. The fra me sw ere st raig ht ened a nd med i an c o m bined as before,  butw i thout wei ghts,  s cales,o r of fsets. The  resultingimages  hav e nocontinu a,  onlysky  l ines. A hi g h signal– to–no ise 1–D  s ky s pec trum w as t h e n cre ated  b y t aking, at e ac h  w av e len gth,  theme dian  value ov e r all sp ati a l posit io ns. We the n 
 scaled_each galaxy_frame by a constant,_generally within_a_percent of_unity,_to optimize the_sky cancellation. This_technique of differencing neighboring_two–dimensional spectra usually_removes_the sky emission lines accurately. For a few galaxies, the resultant sky subtraction was_not_adequate. In_these_exposures,_the sky lines in a_set of frames were offset_along the_dispersion axis by $0.005$ to $0.01$ pixels, suggesting a_slight,_monotonic shift in_the grating tilt. To improve the cancellation, we used_`onedspec.identify` and `onedspec.reidentify` to fit, for_each frame, a_linear_shift_in the position of_the airglow lines with respect to_a reference frame. We then used_`images.imgeom.imshift` to shift the frames, using linear_interpolation, to zero the offsets. This_was done for H–band frames_of NGC 4861,_He 2–10, NGC 4102, and NGC 3504 as_needed.

The next step_in the_reduction was to_combine the frames within a set._Offsets were determined_by summing each frame down the_dispersion_axis and measuring_the_location_of the_continuum peak in_the_resulting one-dimensional_image._Frames were magnified by a factor_of_six to permit fractional pixel shifts, which_minimizes smearing of the_data_and maximizes preservation of_flux during the next step_of straightening. Magnified images were then_remapped to_make the_spatial axis perpendicular to the dispersion axis. This remapping is accomplished_by fitting the tilt of the_dispersion axis as a_cubic polynomial;_this_function is well–defined_and_does not_vary with time. Straightening the spectra in_this manner_simplifies subsequent extraction, stacking, and wavelength_calibration [@chad_reduction].

Frames were then_median_combined with `imcombine` using no rejection,_and using scale and weight factors_determined from each frame’s median_continuum_strength_(generally within $20\%$ of unity)._Frames were then de-magnified. Bad pixels_were replaced with_the average of their immediate two neighbors_along_the dispersion axis.

A similar procedure created_two–dimensional_sky frames suitable for wavelength calibrations._The_frames_were straightened and median combined_as before, but without weights, scales,_or offsets. The resulting images have no continua, only_sky lines. A_high signal–to–noise 1–D sky spectrum_was_then_created by taking, at each wavelength, the median value over_all spatial_positions.

We then