CaltechOpticalObservatories / NGPS

NGPS Software
2 stars 0 forks source link

Complete/Verify FITS headers in ACAM and slit cam images #39

Open chazshapiro opened 1 year ago

chazshapiro commented 1 year ago

Make sure all needed FITS headers are present and correct, whether from the camera or the simulator.

CF said the WCS parameters were wrong in the first calibration images, but that may have just been the old (incorrect) FPoffsets parameters.

Others?

jenniferwillow commented 1 year ago

Question? Do we need the RA,Dec and cass angle from the telescope in the header? The CRVAL1,2 would not match the RA and Dec. Do we have a filter mechanism to control? We have a filter wheel on DBSP slit viewer. Do we intend to use this filter wheel? Jennifer

On Jun 8, 2023, at 10:45 AM, Chaz Shapiro @.**@.>> wrote:

Assigned #39https://github.com/CaltechOpticalObservatories/NGPS/issues/39 to @jenniferwillowhttps://github.com/jenniferwillow.

— Reply to this email directly, view it on GitHubhttps://github.com/CaltechOpticalObservatories/NGPS/issues/39#event-9475369969, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFCPAKEGWYRWT6EMNOH4CETXKIFUXANCNFSM6AAAAAAY7TT2EQ. You are receiving this because you were assigned.Message ID: @.***>

chazshapiro commented 1 year ago

Yes we need the telescope coordinates for calibration. And they should be labeled as such to avoid confusion, e.g. RA_TEL

chazshapiro commented 1 year ago

Sorry this is an issue for ACAM and the slit camera -- all headers should be present in images for both

astronomerdave commented 1 year ago

@jenniferwillow yes, there is a filter wheel

chazshapiro commented 1 year ago

Do we have progress on this? I think we want it closed by Monday, no?

chazshapiro commented 1 year ago

Here's what I found from 20230622 (ngc_focus_5.fits and a random slitcam image) :

acam only: CRVALs, RA/DEC, TELRA/TELDEC are off by ~1.7 deg PC is incorrect -- flipped and rotated; looks like image itself needs to be flipped CDELTs should be more like 7e-5 ACAM filter -- missing

I can't solve for the slitcam coordinates, but since it is only ~0.13 deg from the acam center, the CRVALs, RA/DEC, TELRA/TELDEC look similarly off by >1 deg.

acam and slitcam: EQINOX -- misspelled and wrong Various headers look like just defaults (HA, DATE, etc.) OPTICAL -- if using, should match focus; unneeded anyway since we were able to focus without PPL tools PIXSCALE -- change to arcsec/pixel POSANG -- missing, use FPoffsets output

jenniferwillow commented 1 year ago

This list requires some context. You’re making a lot of claims without context and I have no idea what you’re talking about. Jennifer

Sent from my iPad

On Jun 23, 2023, at 5:41 PM, Chaz Shapiro @.***> wrote:



Here's what I found from 20230622 (ngc_focus_5.fits and a random slitcam image) :

acam only: CRVALs, RA/DEC, TELRA/TELDEC are off by ~1.7 deg PC is incorrect -- flipped and rotated; looks like image itself needs to be flipped ACAM filter -- missing

acam and slitcam: EQINOX -- misspelled and wrong Various headers look like just defaults (HA, DATE, etc.) OPTICAL -- if using, should match focus; unneeded anyway since we were able to focus without PPL tools PIXSCALE -- change to arcsec/pixel POSANG -- missing, use FPoffsets output

— Reply to this email directly, view it on GitHubhttps://github.com/CaltechOpticalObservatories/NGPS/issues/39#issuecomment-1605193700, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFCPAKDNVNS7GPKYJX36G43XMYZS5ANCNFSM6AAAAAAY7TT2EQ. You are receiving this because you were mentioned.Message ID: @.***>

chazshapiro commented 1 year ago

@jenniferwillow I'm not sure what you mean - I'm just adding to the thread

https://github.com/CaltechOpticalObservatories/NGPS/issues/39

cfremling commented 1 year ago

OK, it would be critical to fix CRVALS, PC/CD matrix on acam so that we can test acquisition and guiding properly Do you agree we should make a flip on acam in y-axis hardcoded into the camera software, Chaz? I guess that was what we did on our first night but somehow it didnt stick permanently. What do you need Jennifer to correct the initial guess on the CRVAL and PC matrix?

the rest of these should be simple to address

Christoffer


From: Chaz Shapiro @.> Sent: Friday, June 23, 2023 5:41 PM To: CaltechOpticalObservatories/NGPS @.> Cc: Fremling, Christoffer @.>; Assign @.> Subject: Re: [CaltechOpticalObservatories/NGPS] Complete/Verify FITS headers in ACAM and slit cam images (Issue #39)

Here's what I found from 20230622 (ngc_focus_5.fits and a random slitcam image) :

acam only: CRVALs, RA/DEC, TELRA/TELDEC are off by ~1.7 deg PC is incorrect -- flipped and rotated; looks like image itself needs to be flipped ACAM filter -- missing

acam and slitcam: EQINOX -- misspelled and wrong Various headers look like just defaults (HA, DATE, etc.) OPTICAL -- if using, should match focus; unneeded anyway since we were able to focus without PPL tools PIXSCALE -- change to arcsec/pixel POSANG -- missing, use FPoffsets output

— Reply to this email directly, view it on GitHubhttps://github.com/CaltechOpticalObservatories/NGPS/issues/39#issuecomment-1605193700, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABEKDGIRXJ6ES44P6C6Y5E3XMYZS5ANCNFSM6AAAAAAY7TT2EQ. You are receiving this because you were assigned.Message ID: @.***>

chazshapiro commented 1 year ago

Yes looks like we need to do the acam flip again. I think we all need to look at the WCS parameters together because I don't get how these can be so far off. Since the acam center is only ~0.13 deg away from the scope center, all RA/DEC coordinates (acam or TCS) should be well within 1 deg of the astrometry.net solution but they're not.

chazshapiro commented 1 year ago

Astrometry.net thinks our calibration cluster is at: (deg 205.547 28.377) = (13:42:11.28 28:22:37.20)

But our headers say: RA = '13:35:24.587' / Right Ascension
DEC = '+28:22:37.808' / Declination
TELRA = '13:42:40.660' / Telecscope Right Ascension
TELDEC = '+28:27:29.200' / Telescope Declination CRVAL1 = 203.85244500000002 / X reference coordinate value (deg)
CRVAL2 = 28.377169 / Y reference coordinate value (deg)

So all of the RA headers are significantly off

chazshapiro commented 11 months ago

I've added Gain to the list of needed headers