Skip to content

Conversation

@seawander
Copy link

  1. Hard coded the Stokes parameters for earlier observations (reducing data in 2014-2015 like MWC 758).
  2. Allow the usage of sky frames from other observations (for star hopping).
  3. Ks data centers also prescribed.
  4. Parallactic angle correction, incorporated from PYNPOINT (but the actual difference for recent observations are way less than north uncertainty).
  5. Rescaling rectangular pixels to square pixels (from Christian Ginski's two-liner).
  6. For output target name, use only the OBJECT files (due to the 2nd point here).

Welcome back!

-Bin

seawander added 8 commits May 5, 2022 13:18
default center for any Ks data set
Updated Christian Ginski's correction for geometric distortion. Search for `#geometric correction code from Christian Ginski` for the 5 lines.
Use only the `OBJECT` files, since people might use `SKY` frames from a different target (especially in star hopping observations).
Adjusted from PynPoint `psfpreparation.py` function
For potential uses of parallactic angles (instead of loading the `ESO TEL PARANG START` or `ESO TEL PARANG END` headers). 

The input `START` and `END` parallactic angles are already after correction, and the output values are from their mean calculated using the `compute_mean_angle` function.
... especially for star hopping observations.
1. Hard-coded Stokes parameters are based on the 'ESO INS4 DROT3 POSANG' header values, when such parameters were not available back then. Tested on MWC 758 and NGC 1068 in 2014-2015, results look good.
2. Also loosened the requirement of Q+, Q-, U+, U- for the above data.
@seawander seawander requested a review from robvanholstein as a code owner May 17, 2023 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant