PyAutoLens icon indicating copy to clipboard operation
PyAutoLens copied to clipboard

PyAutoLens: Open Source Strong Gravitational Lensing

Results 23 PyAutoLens issues
Sort by recently updated
recently updated
newest added

``` tracer = tracer_dict = {'cosmology': , 'planes': [, ], 'profiling_dict': None} def test_from_dict(tracer, tracer_dict): > assert tracer.from_dict(tracer_dict) == tracer E AssertionError: assert == E + where = ({'cosmology': ,...

Running my code, I am given the following error: File "", line 1, in File "/Users/Max/miniconda3/envs/autolens/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) File "/Users/Max/miniconda3/envs/autolens/lib/python3.9/multiprocessing/spawn.py", line 125, in _main...

When calling the .dict() instance to extract the parameters of a galaxy, there are a few errors: 1. The type instance is saved as a string rather than a callable...

There are currently two ways we can manipulate a lens model result: ``` tracer = result.max_log_likelihood_tracer bulge_image = tracer.planes[0].galaxies[0].bulge.image_2d_from(grid=imaging.grid) ``` or ``` samples = result.samples ml_instance = samples.max_log_likelihood_instance bulge =...

To create a 1D projected grid from a 2D Grid I use the following: ``` def grid_2d_radial_projected_from( self, centre: Tuple[float, float] = (0.0, 0.0), angle: float = 0.0 ) ->...

The following seminar work of Hernquist details a light profile called the Hernquist profile: https://ui.adsabs.harvard.edu/abs/1990ApJ...356..359H/abstract The intensity calculation for a spherical model is given by equations (32-35): ![image](https://user-images.githubusercontent.com/23455639/120891250-7d08e780-c5ff-11eb-9911-2e948ebfff03.png) It would...

good first issue

The following paper details a mass profile that is well suited to strong lensing, called the Dekel-Zhao profile: https://arxiv.org/abs/2004.08395 The deflection angle calculation for a spherical model is given by...

good first issue

The following paper details a mass profile that represents self interacting dark matter halos: https://arxiv.org/abs/2105.05259 The deflection angle calculation for a spherical model is given by equations (7) and (12):...

good first issue

Our cosma job require us to manually limitt he MKL / BLAS threads in the batch submisssion script. We can build this into AutoLens configs using the library below, which...