Method

NumCosmoGalaxyShapeFactorupdate_data_optzs

Declaration [src]

void
nc_galaxy_shape_factor_update_data_optzs (
  NcGalaxyShapeFactor* gsf,
  NcGalaxyShapeFactorData* data
)

Description [src]

Refreshes datas cached reduced-shear optimization context, using the profile cache from the last nc_galaxy_shape_factor_prepare() call. Unconditional: call only when nc_galaxy_shape_factor_get_optzs_hash() actually changed, and only after nc_galaxy_shape_factor_update_data_radius() in the same cycle if that one also needs to run — this assumes datas cached projected radius is already current.

Parameters

data

Type: NcGalaxyShapeFactorData

A NcGalaxyShapeFactorData.

The data is owned by the caller of the method.