astrocalc.coords.coordinates_to_array

Convert single values of RA, DEC or list of RA and DEC to numpy arrays

Author

David Young

Module Contents

Functions

coordinates_to_array

Convert a single value RA, DEC or list of RA and DEC to numpy arrays

API

astrocalc.coords.coordinates_to_array.coordinates_to_array(log, ra, dec)[source][source]

Convert a single value RA, DEC or list of RA and DEC to numpy arrays

Key Arguments

  • ra – list, numpy array or single ra value

  • dec –list, numpy array or single dec value

  • log – logger

Return

  • raArray – input RAs as a numpy array of decimal degree values

  • decArray – input DECs as a numpy array of decimal degree values

Usage

… todo::

add usage info
create a sublime snippet for usage
ra, dec = coordinates_to_array(
    log=log,
    ra=ra,
    dec=dec
)