Skip to main content

Welcome to LensTools!

https://travis-ci.org/apetri/LensTools.svg?branch=1.0-dev https://coveralls.io/repos/github/apetri/LensTools/badge.svg?branch=1.0-dev 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.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

Metadata

Release files for lenstools 1.1

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.1
File Size Uploaded
lenstools-1.1.tar.gz 253.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lenstools 1.1
File Interpreter ABI Platform
lenstools-1.1-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.1.tar.gz

Download URL lenstools-1.1.tar.gz
Size 253.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fd561c5bec0849fb9655243e29845aa0a626ca8fb91b3032b44258c0b9d5394a
BLAKE2b-256 checksum
How to use checksums
b480bd73910120f074ea84c8e93c9256261e6959d40c552ce41611bee5ba3f25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.20.1 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0

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

Download URL lenstools-1.1-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
a871f8ade0c0654a8c3af44bd1e6f315d7f0b0c375ea91ba657c939dca748d47
BLAKE2b-256 checksum
How to use checksums
c95c233c23721f4e05a41c77a968a613bf0388c56314b05f6a08f85b0a627abc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.20.1 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0

Release history Release notifications | RSS feed

1.2

2 release files

This release

1.1 This release

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