smpy.map_aperture_mass

smpy.map_aperture_mass(data, coord_system='radec', pixel_scale=None, downsample_factor=None, filter_type='schirmer', filter_scale=60, **kwargs)[source]

Perform aperture mass mapping.

This function provides direct access to the aperture mass method with sensible defaults for quick analysis.

Parameters:
  • data (str or pathlib.Path) – Path to input FITS file containing shear catalog.

  • coord_system (str, optional) – Coordinate system of input data. Options: ‘radec’, ‘pixel’.

  • pixel_scale (float, optional) – Pixel scale in arcminutes. Required for ‘radec’ coordinate system.

  • downsample_factor (int, optional) – Downsampling factor for pixel coordinates. Required for ‘pixel’ coordinate system.

  • filter_type (str, optional) – Type of aperture filter. Options: ‘schirmer’, ‘schneider’.

  • filter_scale (int, optional) – Filter scale in pixels.

  • **kwargs – Additional parameters passed to map_mass().

Returns:

result – Dictionary containing the computed mass maps.

Return type:

dict

Examples

>>> result = map_aperture_mass(
...     data='catalog.fits',
...     coord_system='radec',
...     pixel_scale=0.168,
...     filter_scale=80
... )