Power spectra inspector for the SO LAT experiment
Project description
psinspect is a visual application to check for CMB power spectra and covariance matrices calculations through PSpipe.
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
Built Distribution
Hashes for psinspect-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6aa59792e3bd18ff86d16c81fdbd03576421d7f435f1926a9eae0f9301812f3 |
|
MD5 | a294277fd65e29731b2aa2496231cac5 |
|
BLAKE2b-256 | af692d4dd43fb01a045c14b1a9a5f320b88f6701cf321b83bdbb786291f51091 |