Skip to content

Releases: Ciela-Institute/caustics

v0.4.8

12 Sep 19:44
3b3f16f
Compare
Choose a tag to compare

Bug fixes to TNFW class. Pixelated Convergence also has more correct FFT convolution.

v0.4.7

08 Sep 12:54
ed0c932
Compare
Choose a tag to compare

Bug fix for pixelated convergence FFT padding mode. Caustic now has a website! TNFW online mostly

v0.4.6

06 Sep 15:28
c496b74
Compare
Choose a tag to compare

Added the TNFW lens to caustic

v0.4.4

24 Aug 14:09
147c75c
Compare
Choose a tag to compare

Multiplane lensing now includes Effective convergence including both the divergence and curl components.

Forward raytracing now available.

mass sheet lens added

bug fixes in graph viewer and pixelscale arguments

v0.4.1

13 Jul 15:20
7eee21d
Compare
Choose a tag to compare

Mechanics upgrade. The parameter handling system has been upgraded internally. It now allows batching and better control over dtype. The Packed management system now better understands inputs to functions, it can handle keywords in arguments. The name for every module is now optional, it will automatically generate a name if none is given. Many more small changes.

Renaming

09 Jun 15:02
a11738e
Compare
Choose a tag to compare

This release performs a major refactor to rename all methods with descriptive names. This includes:

  • Greek letters alpha, kappa, psi renamed to deflection_angle, convergence, potential
  • deflection_angle made more explicit with reduced_deflection_angle and physical_deflection_angle
  • ThickLens lensing made more explicit, base deflection angle calculator is pure raytrace, now physical_deflection_angle throws an error, reduced_deflection_angle throws a warning and points to effective_reduced_deflection_angle
  • project moved from src directory to simpler caustic directory
  • cosmology made more explicit with dist to distance and Sigma_cr to critical_surface_density
  • Pixelated source and lens made more explicit with source now called Pixelated and lens now called PixelatedConvergence leaving open for future work: PixelatedPotential and other variants
  • Sersic parameters renamed to match literature with index going to n also now q is a true axis ratio which stretches only the minor axis and not an alternative definition which stretches both axes

Docstrings and interface updates

30 May 17:36
8b63f29
Compare
Choose a tag to compare

A number of development updates have been added:

  • No longer reliant on torch interp1d
  • Docstrings added for classes and methods
  • Added "Simulator" object to simplify the interface
  • Adding "Packed" object to identify how parameters are transported through the simulator
  • Kappa grid bug fix
  • Coverage tests

0.2.0

07 Mar 18:13
ffba18c
Compare
Choose a tag to compare

All model components inherit from a Parametrized class, which keeps track of the directed acyclic graph underlying them. This enables passing parameters as args lists, kwargs dictionaries or flatten tensors through arbitrary hierarchical models. It also enables easily setting parameters as static (fixed) or dynamic (sampled and passed into the simulator at runtime).