Skip to content

Inconsistent PA unit between user manual example and set_kernel() docstring #24

@skabanovic

Description

@skabanovic

In the user manual section Elliptical gridding kernels, there's an example for treating elliptical beams:

beam_maj, beam_min, beam_PA = 0.2, 0.1, 30

This implies that the position angle (beam_PA) is in degrees, given the value of 30.

However, in the docstring for set_kernel(), it is stated that:

PA (the position angle) is in units of radians (for efficiency).

This seems contradictory. Could you please clarify:

Whether the set_kernel() function expects PA in radians or degrees? If the function does expect radians, then either: The manual example has possibly a typo, or there might be a hidden conversion from degrees to radians inside the code — though I couldn’t find one on a quick search.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions