sdapy.snerun.snobject.parse_coo

snobject.parse_coo(verbose=False, deg=True, hpx=False, nside=128)

handle SN coordinate

Parameters
verbosebool

show detailed running informations

degbool

return degrees, or hourse: hms, dms

hpxbool

if deg is False, return healpix index or not

nsidebool

the resolution of healpix index

Returns
  • if deg = True:
    • ra: float

    • dec: float

  • if hpx = True:

    index: int

  • otherwise:

    coordinate : str