About Chandra Archive Proposer Instruments & Calibration Newsletters Data Analysis HelpDesk Calibration Database NASA Archives & Centers Chandra Science Links

Skip the navigation links
Last modified: December 2007

URL: http://cxc.harvard.edu/ciao4.0/calsettime.html
AHELP for CIAO 4.0 calSetTime Context: caldb

Synopsis

Sets the time for the next CALDB query.

Syntax

calSetTime( Caldb_Type cal, String_Type start_time )

Description

This function sets the start time to be used for the CALDB query. The start time should be in "HH:MM:SS" format, and can also be set by the calSetSate() function.

This field matches the time parameter of the quizcaldb tool - although you can not set it to "now" - and can be set equal to the contents of the FITS TIME-OBS keyword, or the time part of the DATE-OBS keyword.

The caldb module is not available by default; to use it in a S-Lang program, it must be loaded using the S-Lang require() function:

  require("caldb");

Example

slsh> cal = calCreateInfo;
slsh> calSetTime( cal, "04:12:45" );

Bugs

See the bugs page for the caldb library on the CIAO website for an up-to-date listing of known bugs.

Last modified: December 2007



The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory.
60 Garden Street, Cambridge, MA 02138 USA.    Email: cxcweb@head.cfa.harvard.edu
Smithsonian Institution, Copyright © 1998-2004. All rights reserved.