Skip to main content

lisacattools

Doc badge

Python module for interacting with example LISA catalogs

1 - Getting Started

These instructions will get you a copy of the project up and running on your local machine, either for development and testing purposes or as an installed package. For more information, see the documentation at https://tlittenberg.github.io/lisacattools/html/index.html.

1.1 - Prerequisites

You will need python3 to run this program.

1.2 - Installing by cloning the repository

First, we need to clone the repository

git clone https://github.com/tlittenberg/lisacattools.git

1.2.1 - For users

To install the package for non-root users:

make user

To install the package on the root system:

make

1.2.2 - For developers

Create a virtualenv

make prepare-dev
source .lisacattools-env

Install the sotfware and the external libraries for development purpose

make install-dev

1.3 - Installing by pip

pip install lisacattools

2 - Development (only if the repository has be cloned)

2.1 - Writing the code

Install the software by PIP (developers version)

Then, develop your code and commit

git commit

The tests and code style formatter will be run automatically. To ignore the checks, do

git commit --no-verify

2.2 - Running the tests

make test

2.3 - Testing on python 3.8,3.9,3.10

Install all required prerequisite dependencies:

sudo apt-get update; sudo apt-get install make build-essential libssl-dev zlib1g-dev \
libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm \
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev

Download and execute installation script: 

curl https://pyenv.run | bash

Add the following entries into your ~/.bashrc file:

# pyenv
export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv virtualenv-init -)"

Restart your shell:

exec $SHELL

Validate installation:

pyenv --version

Once the dependencies are installed, test on python 3.8, 3.8 and 3.10 :

make tox

3 - Running the tutorial

Once the software is installed, data must be downloaded for the tutorial. The data are downloaded from a google drive and are large files -- ~10GB in total -- and will be installed in tutorial/data. Datasets include a catalog of simulated MBH detections with parameters updated on a weekly cadence, and two UCB catalogs, using 3 and 6 months of simulated LISA data.

make data

Then install jupyter and run the tutorial

make demo

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • James I. Thorpe, Tyson B. Littenberg - Initial work
  • Jean-Christophe Malapert

License

This project is licensed under the LGPLV3 License - see the LICENSE file for details

Metadata

Release files for lisacattools 1.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 lisacattools 1.1.1
File Size Uploaded Provenance Actions
lisacattools-1.1.1.tar.gz 988.5 kB Without provenance Details for lisacattools-1.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lisacattools 1.1.1
File Interpreter ABI Platform Actions
lisacattools-1.1.1-py3-none-any.whl Python 3 none any Details for lisacattools-1.1.1-py3-none-any.whl

Total release size: 1.0 MB

Release files / lisacattools-1.1.1.tar.gz

Download URL lisacattools-1.1.1.tar.gz
Size 988.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5fc79e74146754e9570ccde07af756c6b31006670a3731907423ca3a35cfa5c6
BLAKE2b-256 checksum
How to use checksums
f8296585ce521000931327b41af97b7d4695c367b5888e32167a432a63605166
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.12

Release files / lisacattools-1.1.1-py3-none-any.whl

Download URL lisacattools-1.1.1-py3-none-any.whl
Size 40.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
74ef95e8f3a489b7417914514a1570050ad30fc5077fa0e78fd1697db973f11d
BLAKE2b-256 checksum
How to use checksums
b85874f87aa90d81a40463a8752a1805770eebf3545631ca4f0d9f3a641a720c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.12

Security for lisacattools 1.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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