sstcam / sstcam_nsb

Issue tracking and script storage for SSTCAM investigations of night sky background
2 stars 0 forks source link

Validate camera rotation #6

Closed STSpencer closed 3 years ago

STSpencer commented 3 years ago

It's entirely possible the rotation of the camera in the current scripts is wrong.

STSpencer commented 3 years ago

Looks out to me. After 20 minutes same stars in field rotate counter clockwise.

image Same field after 20 minutes: image

But in the camera pixel intensities, the bright pixels move clockwise.

image After 20 minutes: image

This suggests to me that the pixel intensity values are 90 degrees out from what we want in the pixel extractor.

STSpencer commented 3 years ago

Alright, this has been fixed by the latest commit. The problem stemmed from that the fov_lat and fov_lon attributes aren't inherited by the ctapipe EngineeringCameraFrame class as they are in the CameraFrame class. However, using the CameraFrame results with a rotation matrix gets consistent results with those from the EngineeringCameraFrame:

image image

This appears consistent with both the field of view nsb images, and the rotation after 20 minutes appears to be correct too: image

Now onto units.