autolens.Plane

class autolens.Plane(galaxies, redshift: Optional[float] = None, profiling_dict: Optional[Dict[KT, VT]] = None)
__init__(galaxies, redshift: Optional[float] = None, profiling_dict: Optional[Dict[KT, VT]] = None)

A plane of galaxies where all galaxies are at the same redshift.

Parameters:
  • or None (redshift) – The redshift of the plane.
  • galaxies ([Galaxy]) – The list of galaxies in this plane.

Methods

__init__(galaxies, redshift, profiling_dict, …) A plane of galaxies where all galaxies are at the same redshift.
area_within_tangential_critical_curve_from(grid)
blurred_image_2d_via_convolver_from(grid, …)
blurred_image_2d_via_psf_from(grid, psf, …)
blurred_images_of_galaxies_via_convolver_from(…)
blurred_images_of_galaxies_via_psf_from(…)
caustics_from(grid[, pixel_scale])
convergence_1d_from(grid)
convergence_2d_from(grid) Returns the convergence of the list of galaxies of the plane’s sub-grid, by summing the individual convergences of each galaxy’s mass profile.
convergence_func(grid_radius)
convergence_via_hessian_from(grid[, buffer])
convergence_via_jacobian_from(grid[, jacobian])
critical_curves_from(grid[, pixel_scale])
deflection_magnitudes_from(grid)
deflections_2d_from(grid)
deflections_2d_via_potential_2d_from(grid)
einstein_mass_angular_from(grid[, pixel_scale])
einstein_radius_from(grid[, pixel_scale])
extract_attribute(cls, attr_name) Returns an attribute of a class in Plane as a ValueIrregular or Grid2DIrregular object.
extract_attributes_of_galaxies(cls, attr_name) Returns an attribute of a class in the plane as a list of ValueIrregular or Grid2DIrregular objects, where the list indexes correspond to each galaxy in the plane..
galaxy_blurred_image_dict_via_convolver_from(…) A dictionary associating galaxies with their corresponding model images
galaxy_image_dict_from(grid) A dictionary associating galaxies with their corresponding model images
galaxy_profile_visibilities_dict_via_transformer_from(…) A dictionary associating galaxies with their corresponding model images
hessian_from(grid[, buffer, deflections_func])
hyper_noise_map_from(noise_map)
hyper_noise_maps_of_galaxies_from(noise_map) For a contribution map and noise-map, use the model hyper_galaxy galaxies to compute a hyper noise-map.
image_2d_from(grid) Returns the profile-image plane image of the list of galaxies of the plane’s sub-grid, by summing the individual images of each galaxy’s light profile.
images_of_galaxies_from(grid)
inversion_imaging_from(grid, image, …[, …])
inversion_interferometer_from(grid, …[, …])
jacobian_from(grid)
magnification_2d_from(grid)
magnification_via_hessian_from(grid[, …])
mapper_from(grid, sparse_grid, pixelization, …)
mapper_list_from(grid[, …])
mass_integral(x) Routine to integrate an elliptical light profiles - set axis ratio to 1 to compute the luminosity within a circle
padded_image_2d_from(grid, psf_shape_2d)
plane_image_2d_from(grid)
potential_1d_from(grid)
potential_2d_from(grid) Returns the potential of the list of galaxies of the plane’s sub-grid, by summing the individual potentials of each galaxy’s mass profile.
potential_func(u, y, x)
profile_visibilities_of_galaxies_via_transformer_from(…)
profile_visibilities_via_transformer_from(…)
radial_caustic_from(grid[, pixel_scale])
radial_critical_curve_from(grid[, pixel_scale])
radial_eigen_value_from(grid[, jacobian])
set_snr_of_snr_light_profiles(grid, …)
shear_via_hessian_from(grid[, buffer])
shear_via_jacobian_from(grid[, jacobian])
shear_yx_via_hessian_from(grid[, buffer])
shear_yx_via_jacobian_from(grid[, jacobian])
sparse_image_plane_grid_list_from(grid[, …])
tangential_caustic_from(grid[, pixel_scale])
tangential_critical_curve_from(grid[, …])
tangential_eigen_value_from(grid[, jacobian])
traced_grid_from(grid) Trace this plane’s grid_stacks to the next plane, using its deflection angles.
unmasked_blurred_image_2d_via_psf_from(grid, psf)
unmasked_blurred_image_of_galaxies_via_psf_from(…)

Attributes

angle
centre
contribution_map
contribution_maps_of_galaxies
galaxies_with_light_profile
galaxies_with_mass_profile
galaxies_with_pixelization
galaxies_with_regularization
galaxy_redshifts
has_hyper_galaxy
has_light_profile
has_mass_profile
has_pixelization
has_regularization
hyper_galaxy_image_list
mass_profiles
mass_profiles_of_galaxies
pixelization_list
point_dict
regularization_list