Skip to main content

Power spectra inspector for the SO LAT experiment

Project description

https://raw.githubusercontent.com/FortAwesome/Font-Awesome/6.x/svgs/solid/user-secret.svg

psinspect is a visual application to check for CMB power spectra and covariance matrices calculations through PSpipe.

https://img.shields.io/pypi/v/psinspect.svg?style=flat https://img.shields.io/github/actions/workflow/status/xgarrido/psinspect/testing.yml?branch=main https://codecov.io/gh/xgarrido/psinspect/branch/main/graph/badge.svg?token=HHAJ7NQ5CE pre-commit.ci status https://img.shields.io/badge/license-BSD-yellow

Installing

The easiest way is to get the PyPI version with

pip install psinspect [--user]

You can test if everything has been properly installed with

psinspect

If everything goes fine, no errors will occur. Otherwise, you can report your problem on the Issues tracker.

If you plan to develop/change something inside psinspect, it is better to checkout the latest version by doing

git clone https://github.com/xgarrido/psinspect.git /where/to/clone

Then you can install the psinspect library and its dependencies via

pip install -e /where/to/clone

The -e option allow the developer to make changes within the psinspect directory without having to reinstall at every changes.

Using psinspect at NERSC

At NERSC, after having set python with module load python, you can follow the same installation process and everything will be installed in your local home. Then you can go to NERSC Jupyter Hub and start a notebook with the following minimal set of commands

from psinspect import App
my_app = App()
my_app.initialize()
my_app.start()

Another (smarter) way is to encapsulate the whole installation stuff within a python virtual env. to avoid conflicts with your existing installation. To do so you can follow these command lines

module load python
python -m venv /where/to/install/your/env
source /where/to/install/your/env/bin/activate
python -m pip install ipykernel
python -m ipykernel install --user --name=psinspect

This will install a new kernel named psinspect that you can choose when you will create a new notebook in NERSC Jupyter Hub. Copy-paste the above python code and execute the cell.

The code is part of PSpipe the Simons Observatory power spectrum pipeline.

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

psinspect-0.1.1.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

psinspect-0.1.1-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

Details for the file psinspect-0.1.1.tar.gz.

File metadata

  • Download URL: psinspect-0.1.1.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for psinspect-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b4621a866e9ebcf5537154bb205e95749cef8f00ea521a6de98c6af6621188a3
MD5 e70a585c7a463880a1480831548528ca
BLAKE2b-256 ec3322187ea24e5e5b4c262a13deeb75e2c8f096cf1dbc51f8111205eef4d42b

See more details on using hashes here.

File details

Details for the file psinspect-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: psinspect-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 21.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for psinspect-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 906a662fb0a2f749198856d5ede7116c81a5fef505abaa23f2b41561dc4d84ee
MD5 5bd80aa6b038389b9edfb3b165c6d3ed
BLAKE2b-256 7b3857485a516247fa1eaf66ec2a5d7672f955ad93bc9e6ce4033a60c2b2e225

See more details on using hashes here.

Supported by

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