Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-30139

Make position Optional when manually instantiating Stamps

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: meas_algorithms
    • Labels:
      None

      Description

      At present, Stamp requires a position to be given when manually instantiated. Since we allow for positions to be missing when reading/writing fits files, I think we should do the same when manually instantiating.

      The default value naturally should be chosen to be `SpherePoint(Angle(numpy.nan), Angle(numpy.nan))`, the same value that gets used when reading a fits with no positions.

        Attachments

          Activity

          Hide
          mschmitz Morgan Schmitz added a comment -

          See attached frozen notebook for a quick illustration of the change

          Show
          mschmitz Morgan Schmitz added a comment - See attached frozen notebook for a quick illustration of the change
          Hide
          mschmitz Morgan Schmitz added a comment -

          Thanks, Clare!

          Show
          mschmitz Morgan Schmitz added a comment - Thanks, Clare!

            People

            Assignee:
            mschmitz Morgan Schmitz
            Reporter:
            mschmitz Morgan Schmitz
            Reviewers:
            Clare Saunders
            Watchers:
            Clare Saunders, Morgan Schmitz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins Builds

                No builds found.