next up previous 264
Next: Specifying a Particular Time System
Up: Time Systems (TimeFrames)
Previous: The TimeFrame Model

Creating a TimeFrame

The TimeFrame constructor function is particularly simple and a TimeFrame with default attributes is created as follows:

#include "ast.h"
AstTimeFrame *timeframe;

...

timeframe = astTimeFrame( "" );

Such a TimeFrame would represent the default coordinate system which is Modified Julian Date (with the usual units of days) in the International Atomic Time (TAI) time scale.


next up previous 264
Next: Specifying a Particular Time System
Up: Time Systems (TimeFrames)
Previous: The TimeFrame Model

AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 211
R.F. Warren-Smith & D.S. Berry
24th May 2011
E-mail:ussc@star.rl.ac.uk

Copyright (C) 2009 Science \& Technology Facilities Council