Uploaded image for project: 'Instrument control development'
  1. Instrument control development
  2. INSTRM-2213

fakeDec is too close to the pole; please add a utility to calculate "ra,dec" from pfsNominal

    XMLWordPrintable

    Details

    • Story Points:
      1
    • Sprint:
      EngRun16May

      Description

      The current values in pfsDesignUtils.py are fakeRa, fakeDec = 100, -89.99, but that value is too close to the pole to do something simple such as

      ra =  fakeRa  + pfiNominal[:, 0]/3600
      dec = fakeDec + pfiNominal[:, 1]/3600
      

      as that results in unphysical declinations. If you scale the nominal positions by such a small number that they don't have this problem, they are too close to each other to have distinct SHAs (as the pfsDesignId rounds to 1 arc second).

      Please fix this, and add a utility routine to generate usable (fake!) (ra, dec) values from pfi positions. N.b. the current code doesn't check that the provided coordinates are consistent with the boresight; this routine would circumvent that problem, but we should check.

        Attachments

          Activity

            People

            • Assignee:
              arnaud.lefur arnaud.lefur
              Reporter:
              rhl rhl
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: