Skip to content

retrieve a RangeMOC's pixel matching a position? #13

@Theodlz

Description

@Theodlz

Hey! While I'm seeing methods like is_in which take a healpix at max depth as input and return a True/False boolean telling me if my pixel overlaps with the MOC, I can't find a method that takes a healpix (or lon/lat) as input and return the pixel of the RangeMOC that it matched with.

For context, I have a MOC and I want to figure out which healpix of the MOC matches with some input position, to then do a lookup in another table of mine (by the healpix value of the MOC)

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