v1_calculate_from_models
- jwst.lib.v1_calculate.v1_calculate_from_models(sources, siaf_path=None, **calc_wcs_from_time_kwargs)[source]
Calculate V1 over the time period for the given models.
Returns a table of V1 pointings for all input models. The table has the following columns:
source (
JwstDataModel): The model.obstime (
astropy.time.Time): The observation time.v1 (float, float, float): 3-tuple or RA, dec, and position angle.
- Parameters:
- sources[File-like or stdatamodels.DataModel[…]]
The datamodels to get timings other header parameters from.
- siaf_pathNone or file-like
The path to the SIAF database. If none, the default used by the
pysiafpackage is used. SeeSiafDbfor more information.- **calc_wcs_from_time_kwargsdict
Keyword arguments to pass to
calc_wcs_from_time.
- Returns:
- v1_table
astropy.table.Table Table of V1 pointing.
- v1_table