Skip to main content

Welcome to LensTools!

https://travis-ci.org/apetri/LensTools.svg?branch=master https://coveralls.io/repos/github/apetri/LensTools/badge.svg?branch=master http://img.shields.io/pypi/dm/lenstools.svg?style=flat http://img.shields.io/pypi/v/lenstools.svg?style=flat http://img.shields.io/badge/license-MIT-blue.svg?style=flat Documentation Status

This python package collects together a suite of widely used analysis tools in Weak Gravitational Lensing. For more information visit the project official page. If you make use of this code in your work, please cite it!

Changelog

1.2

  • Support for weak lensing flexion analysis (courtesy of Brij Patel, brp53@drexel.edu)

1.0

  • Plot Gaussian prediction for peak histograms (Bond et. al. 1987)

  • Make reduced shear maps and catalogs in lenstools.raytracing

  • Better handling of random seeds in raytracing

  • Measure equilateral and folded bispectrum of scalar images (kappa,cmb)

  • Introduced CMBTemperatureMap class

  • CMB lensing potential reconstructions with quadratic TT estimator (wrapped around quicklens)

  • Handle neutrino parameters in pipeline book keeping

  • Introduced Gadget2SnapshotNu class for N-body outputs with neutrino effects

0.9

  • RayTracer can now perform line of sight integrations to approximate kappa (Born, lens-lens and geodesic perturbation) and omega (lens-lens), without full raytracing

  • cutPlanes can now handle snapshots in FastPM format

  • If snapshots are provided in light cone projections, LensTools can do plane cutting, raytracing and LOS integrations in a single script

  • Fit multiple observations with the same FisherAnalysis

0.7-dev

  • ShearCatalog allows to re-bin galaxies according to redshift

  • Introduced a SquareMaxtrix class (inherits from Ensemble) for square matrix operations, with column name support

  • Protect nodes in a SimulationBatch to call forbidden methods

0.6

  • Database class for local/remote SQL databases

  • Gadget2SnapshotPipe class allows to combine Gadget2 and lenstools.planes via named pipes

  • Improvements in pipeline deployment

0.5

  • Weak lensing pipeline functionalities

  • Measure 2pcf of convergence maps with hankel transforms

  • Moved Limber module under lenstools.simulations

  • Dedicated module for Fast Fourier Transforms

  • Ensemble is now a sub-class of pandas.DataFrame

0.4.8.4

  • New operations in Ensemble: bootstrap, readall, shuffle

  • Ensemble mean is automatically recomputed when re–assigning data

0.4.8

Beta release

Release files for lenstools 1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lenstools 1.2
File Size Uploaded
lenstools-1.2.tar.gz 259.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lenstools 1.2
File Interpreter ABI Platform
lenstools-1.2-cp37-cp37m-macosx_10_13_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.13+ x86-64 Details

Total release size:1.4 MB

Release files / lenstools-1.2.tar.gz

Download URL lenstools-1.2.tar.gz
Size 259.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cd50d15c1b9fb82f2f89f19370fd887fd403bf54241f138437954dd95fe7312c
BLAKE2b-256 checksum
How to use checksums
3099a482bca51732714371a59c304c86e695a3826277b84a03c1a5ad058f965b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.20.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0

Release files / lenstools-1.2-cp37-cp37m-macosx_10_13_x86_64.whl

Download URL lenstools-1.2-cp37-cp37m-macosx_10_13_x86_64.whl
Size 1.1 MB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
2361705278676b9973e0036a820241df62b93a909178977c5e60e99c27820b29
BLAKE2b-256 checksum
How to use checksums
9f35b78f1286e509f7d300b4ab8838261cf9f829c7a41f073aa56ff9fb89dd8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.20.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0

Release history Release notifications | RSS feed

This release

1.2 This release

2 release files

1.1

2 release files

1.0

2 release files

0.9

1 release file

0.8.1

1 release file

0.6

1 release file

0.4.8.4

1 release file

0.4.8.3

1 release file

0.4.8.2

1 release file

0.4.8.1

1 release file

0.4.8

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page