Skip to content

Documenting orientation (PA) relative to other sources (e.g., pysiaf) #317

@cgarling

Description

@cgarling

When running romanisim on single SCAs it is useful to be able to get the SCA center in sky coordinates given the WFI_CEN to generate appropriate catalogs for each SCA. I wrote some code with pysiaf that I thought should do this and had difficulty debugging it. It turned out I was misunderstanding the position angle arguments between romanisim and pysiaf (the argument to their attitude function). I think the most relevant docs here are

pa_aper : float
position angle (North relative to the idealized Y axis) at the aperture
V2Ref/V3Ref

and

--roll ROLL Position angle (North towards YIdl) measured at the V2Ref/V3Ref of the aperture used. (default: 0)

The former is more informative but the latter is more user-facing and I didn't appreciate what YIdl meant when I saw it at a quick glance. A search for YIdl in the RDox page on coordinate systems doesn't turn anything up either.

I think it would be nice to explain that you are using the idealized frame with a bit more clarity. Maybe an additional note on the "running" documentation page with some explanatory text / link to the RDox page would also be appropriate? I can put together a PR if you'd like.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions