v1_calculate_from_models

romancal.orientation.v1_calculate.v1_calculate_from_models(sources, **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 (roman_datamodels.datamodels.RomanDataModel): 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 roman_datamodels.datamodels.RomanDataModel[...]]) – The datamodels to get timings other header parameters from.

  • **calc_wcs_from_time_kwargs (dict) – Keyword arguments to pass to calc_wcs_from_time.

Returns:

v1_table – Table of V1 pointing.

Return type:

astropy.table.Table