astrocalc.times.now module

Report current time in various formats

Author : David Young

class astrocalc.times.now.now(log, settings=False)[source][source]

Bases: object

Report the current time into various formats

Key Arguments

  • log – logger

  • settings – the settings dictionary

get_mjd()[source][source]

Get the current time as an MJD

Return

  • mjd – the current MJD as a float

Usage

Todo

  • add clutil

  • remove getCurrentMJD from all other code

```python from astrocalc.times import now mjd = now(

log=log

).get_mjd() ```