perform common astronomy-related calculations, conversions and measurements within python scripts or from the command-line
Table of Contents
API reference
now
Bases: object
object
Report the current time into various formats
Key Arguments
log – logger
log
settings – the settings dictionary
settings
Methods
get_mjd()
get_mjd
Get the current time as an MJD
Return
mjd – the current MJD as a float
mjd
Usage
Todo
add clutil
remove getCurrentMJD from all other code
from astrocalc.times import now mjd = now( log=log ).get_mjd()