Closed educrot22 closed 5 months ago
@educrot22, I'm not much of a NIRSpec G395H expert at this time, but it seems to me that the changes under consideration in PR #599 might resolve your issue. If you want to make quick progress before we can get that PR merged, you could experiment with that tweak and see if it resolves your issue
Hi Taylor,
Thank you very much for your answer. My issue was actually simply solved when I started from the uncal.fits files and re-ran Stage 1 and 2 through Eureka! with the setups for NIRSpec (usinf the nirx.ecf control files).
However, I then encountered the waterfall effect issue that you mentioned and the solution from issue #599 worked for me!
In the end the 2-D spectrum looks way better:
Thanks again!
Hi Elsa, really glad to hear you got this sorted out! Yeah, starting from scratch with the _uncal files is almost always the best choice. And good to know that the pending PR resolved an issue for you as well - hopefully we can get that merged sooner than later!
FAQ check
Instrument
NIRSpec (Stages 1-3)
What happened?
I tried to reduce NIRSPec G935 data for the first time (K2-18 b (GO 2722) nrs1 and nrs2).
For nrs1 I started from the
calints.fits
images directly. On the images I can see that the trace is curved and that the images are cropped (see image1 attached). In the Stage 3.ecf
file (pasted at the end of the issue) I setcurvature
to "correct" and try to selectxwindow
andywindow
such that the cropped pixel lines are not included (image 2 attached). As a result of stage 3 I can see wide stripes in the 2-dimensional, non-drift-corrected light curve (image 3 attached). I have tried changing all the sigma thresholds values but this does not seem to help.With nrs2 I have exactly the same problem but even more pronounced as the trace is even more curved and it very hard to find a set of
xwindow
andywindow
that includes all of it (see image 4).I am sure there is something I'm missing here as this is my first time dealing with NIRSpec data, but I was wondering if anyone else ever encountered this issue ?
Thank you very much,
ps: strangely I cannot unzip the folder when I try downloading the
uncal.fits
images from MAST so I can't start from Stage1.Stage 3
.ecf
file:Error traceback output
No response
What operating system are you using?
Mac OS Big Sus
What version of Python are you running?
python3.9.7
What Python packages do you have installed?
No response
Code of Conduct