blendmodels

jwst.model_blender.blendmodels(product, inputs, ignore=None)[source]

Blend datamodel metadata.

Parameters:
  • product (JwstDataModel) – A datamodel that will have its metadata set to the blended metadata and have the metadata table assigned to the “hdrtab” attribute.

  • inputs (list of JwstDataModel) – Input datamodels with metadata to blend.

  • ignore (list of str, optional) – A list of metadata attributes to ignore during blending. These attributes will not be set on the output/combined. These attributes must be strings containing the dotted path of each attribute (for example “meta.filename”). (Note that “meta.wcs” will always be ignored).