xlens.simulator.perturbation.dcr

Differential chromatic refraction (DCR) perturbation model.

Classes

DcrDistort

Apply an astrometric position shift to simulate DCR effects.

Module Contents

class DcrDistort(distort_func)[source]

Bases: object

Apply an astrometric position shift to simulate DCR effects.

distort_func[source]
distort_galaxy(gso, shift, redshift)[source]

This function distorts the galaxy’s shape and position :param gso (galsim object): :type gso (galsim object): galsim galaxy :param shift (galsim.PositionD): :type shift (galsim.PositionD): position of the galaxy :param redshift (float): :type redshift (float): redshift of galaxy

Returns:

distorted galaxy object and shift

Return type:

gso, shift