Skip to content

Add 2nd central moments to base+compound GSObjects #815

Description

@jmeyers314

I think it would be nice to have unweighted second central moment properties for our analytic GSObjects:

obj = galsim.Gaussian(half_light_radius=1)
print(obj.Ixx)  # 0.7205
print(obj.Ixy)  # 0.0

I think it's straightforward to define these for at least the analytic profiles in base.py. It should also be straightforward to propagate these through transformations and sums/convolutions, though it's probably good to avoid InterpolatedImage moments, or using moments as input.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

descOf possible interest to LSST DESC members looking for a projectfeature requestRequest for a new feature in GalSimstarter projectsPossibly a good choice for someone looking to get started on GalSim development

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions