add_dva

jwst.lib.set_velocity_aberration.add_dva(filename, force_level1bmodel=True)[source]

Determine velocity aberration.

Given the name of a valid partially populated level 1b JWST file, determine the velocity aberration scale factor and apparent target position in the moving (telescope) frame.

It presumes all the accessed keywords are present (see first block).

Parameters:
filenamestr

The name of the file to be updated.

force_level1bmodelbool, optional

If True, the input file will be force-opened as a Level1bModel. If False, the file will be opened using the generic DataModel. The default is True.