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:

Parameters:
sources[File-like or jwst.datamodels.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 pysiaf package is used. See SiafDb for more information.

**calc_wcs_from_time_kwargsdict

Keyword arguments to pass to calc_wcs_from_time.

Returns:
v1_tableastropy.table.Table

Table of V1 pointing.