Skip to main content

Covariances for LSST DESC

Project description

Coverage Status Documentation Status

TJPCov

TJPCov is a general covariance calculator interface to be used within LSST DESC.

Installation

TJPCov is now pip installable for convenience, but for development clone the git repository.

There are five different flavors of tjpcov at the moment:

  • python -m pip install . will install tjpcov and the minimal dependencies.
  • python -m pip install .\[doc\] will install tjpcov, the minimal dependencies and the dependencies needed to build the documentation.
  • python -m pip install .\[nmt\] will install tjpcov, the minimal dependencies and the dependencies needed to use NaMaster.
  • python -m pip install .\[mpi4py\] will install, the minimal dependencies and the mpi4py library to use MPI parallelization.
  • python -m pip install .\[full\] will install tjpcov and all dependencies

Note that due to a bug in the NaMaster installation, one needs to make sure numpy is installed before trying to install NaMaster. If you are doing a fresh install, run python -m pip install . first, and then python -m pip install .\[nmt\]

Planning & development

Ask @felipeaoli or @carlosggarcia for access to the repository and join the #desc-mcp-cov channel on the LSST DESC slack to contribute.

We have adopted the following style convention (which are enforced in each PR):

There are black and flake8 configuration files so that formatting the code and checking its PEP8 compliance is a matter of running the following commands in the root folder:

black .
flake8 .

Furthermore, we are following GitHub's recommendation of using Semantic Versioning in our releases.

For a general idea of TJPCov's scientific scope, see also the terms of reference.

Environment for development

If you are working in conda (miniconda or anaconda) you can create a conda environment named tjpcov with

conda env create --file environment.yml

To activate your new environment use:

conda activate tjpcov

Dependencies and versioning

The latest version TJPCov needs pymaster >= 1.4 . Install it using (after conda activate tjpcov):

python -m pip install pymaster>=1.4

The code requires ccl>=2.5.0

python -m pip install ccl>=2.5.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tjpcov-0.3.2.tar.gz (14.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tjpcov-0.3.2-py3-none-any.whl (44.5 kB view details)

Uploaded Python 3

File details

Details for the file tjpcov-0.3.2.tar.gz.

File metadata

  • Download URL: tjpcov-0.3.2.tar.gz
  • Upload date:
  • Size: 14.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for tjpcov-0.3.2.tar.gz
Algorithm Hash digest
SHA256 7323eca0b3c03b4bd648521b9c60114b59ca3ced08de035c718278f7df3e5cf3
MD5 eebf2b10f5f7c6b918db6da2b44d7686
BLAKE2b-256 e41447dde8b142ed17f5203c0c6e055d511a32ad488822831b377db47d32636d

See more details on using hashes here.

File details

Details for the file tjpcov-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: tjpcov-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 44.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for tjpcov-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d1ab14458ec916ceadfb8f6dd5e61951b3010ef9c6ae2cde11f39e4ffb9c08c5
MD5 c0a871b6f32a75b5fe285d413b6d441b
BLAKE2b-256 deea2561bbf3ff9a9a425d8cc569d89e433aff6519c5b578490b9c43342080cb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page