Keck-DataReductionPipelines / KAI

Keck AO Imaging DRP
https://keck-datareductionpipelines.github.io/KAI/
7 stars 10 forks source link

Fix parallactic angle in dar.py #2

Closed Matthew-Freeman closed 3 years ago

Matthew-Freeman commented 3 years ago

kaidar() no longer returns pa. darPlusDistorion()and applyDar() now calculate it separately. darPlusDistortion() adds position angle to parallactic angle, and scales to nirc2 pixels.

Add get_parallactic_angle() to instruments.py

Remove the iraf dependency from dar.py by hardcoding Keck's latitude and height.

Fix scaling bug in prep_analysis.py in psfRadius() and removedCloseStars()