Skip to main content
Version: Next

mapTimeSysToAstScale

Callable

  • mapTimeSysToAstScale(timesys: string | undefined): AstTimeScale | null

  • Maps a FITS TIMESYS header value to an AST TimeScale attribute value. Defaults to UTC when the header is absent. Returns null for unrecognized time scales, in which case the observation time should be considered invalid.


    Parameters

    • timesys: string | undefined

    Returns AstTimeScale | null