James Nightingale

Results 116 issues of James Nightingale

``` 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': ,...

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...

* UltraNest version: 3.2.0 * Python version: 3.6 / 3.8 * Operating System: Linux / Windows subsystem for Linux ### Description Installing ultranest on my laptop (WSL enviroment) and on...

* UltraNest version: 3.2.0 * Python version: 3.8 * Operating System: Windows subsystem for Linux ### Description Around 10000 iterations into a model fit using the RegionMHSampler (nsteps=10) I get...

The following line: `result = search.fit(model=model, analysis=analysis)` Does not know that the output result is a PyAutoLens result (e.g. https://github.com/Jammy2211/PyAutoLens/blob/master/autolens/imaging/model/result.py). This is a pain for PyCharm predictive variables, as it...