{"id":18620470,"url":"https://github.com/simonsobs/so-lenspipe","last_synced_at":"2025-04-11T02:31:06.167Z","repository":{"id":42449880,"uuid":"160591403","full_name":"simonsobs/so-lenspipe","owner":"simonsobs","description":"SO L3.1 pipeline scripts and libraries for CMB lensing reconstruction and auto-spectra","archived":false,"fork":false,"pushed_at":"2025-04-04T20:45:08.000Z","size":13115,"stargazers_count":4,"open_issues_count":10,"forks_count":2,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-04-04T21:36:44.726Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonsobs.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-05T23:27:19.000Z","updated_at":"2025-03-18T12:42:20.000Z","dependencies_parsed_at":"2022-08-12T10:00:39.807Z","dependency_job_id":"463b1268-266c-4c89-a5f5-a696085019cb","html_url":"https://github.com/simonsobs/so-lenspipe","commit_stats":{"total_commits":168,"total_committers":10,"mean_commits":16.8,"dds":0.5476190476190477,"last_synced_commit":"d9e952760a68ce78da87b8e2a30c1e8d39b719b9"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsobs%2Fso-lenspipe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsobs%2Fso-lenspipe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsobs%2Fso-lenspipe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsobs%2Fso-lenspipe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonsobs","download_url":"https://codeload.github.com/simonsobs/so-lenspipe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248329544,"owners_count":21085557,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T04:06:18.297Z","updated_at":"2025-04-11T02:31:04.815Z","avatar_url":"https://github.com/simonsobs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"==========\nsolenspipe\n==========\n\n.. image:: https://readthedocs.org/projects/so-lenspipe/badge/?version=latest\n           :target: https://so-lenspipe.readthedocs.io/en/latest/?badge=latest\n\t\t   :alt: Documentation Status\n\n\nPipeline libraries and scripts for L3.1\n\n-  Free software: BSD license\n\nDependencies\n------------\n\nNERSC tip: you may need the ``python/3.7-anaconda-2019.07`` module. You\ncan add ``module load python/3.7-anaconda-2019.07`` to your\n``~/.bash_profile.ext``. Also, when running quick tests on the login\nnode (e.g. to test imports after setting up), you should run\n``export DISABLE_MPI=true`` since MPI calls do not work on the cori\nlogin node.\n\nHere are all the pacakges you'll need before you can run this library\nand scripts therein:\n\n* `pixell \u003chttps://github.com/simonsobs/pixell/\u003e`__ (if\n  running on NERSC, run\n  ``python setup.py build_ext -i --fcompiler=intelem --compiler=intelem``\n  followed by adding the directory to your PYTHONPATH; else run\n  ``python setup.py install --user``); test by running ``py.test -s``\n* `falafel \u003chttps://github.com/simonsobs/falafel/\u003e`__\n  (``pip install -e . --user``) \n* `tempura \u003chttps://github.com/simonsobs/tempura\u003e`__ \n  (Clone the repository then do ``python setup.py build_ext -i`` and then add to your PYTHONPATH)\n* `camb \u003chttps://camb.readthedocs.io/en/latest/\u003e`__\n  (``pip install camb --user``) \n* `orphics \u003chttps://github.com/msyriac/orphics/\u003e`__\n  (``pip install -e . --user``) \n* `enlib \u003chttps://github.com/amaurea/enlib/\u003e`__ (just need enlib/bench.py\n  for benchmarking ; git clone the repo and add to PYTHONPATH) \n* `soapack \u003chttps://github.com/simonsobs/soapack\u003e`__\n  (``pip install -e . --user``)\n* `pyfisher \u003chttps://github.com/msyriac/pyfisher\u003e`__\n  (``pip install -e . --user``)\n* `actsims \u003chttps://github.com/ACTCollaboration/actsims\u003e`__\n  (clone repo, checkout `new_scheme` branch, and then ``pip install -e . --user``)\n* Other miscellaneous packages:\n  healpy, Cython, astropy, numpy, scipy, matplotlib, pyyaml, h5py, Pillow\n  (Python Image Library), toml\n  \n\nInstalling\n----------\n\nTo install, run:\n\n::\n\n    python setup.py build_ext -i\n    pip install -e . --user\n\nThen copy ``input/config_template.yml`` to ``input/config.yml`` and edit\nit to match paths on your system (specifically, the ``data_path``\nvariable in the .yml file will need to be changed to be for a directory\nof your own).\n\nDemo\n----\n\nRun ``python examples/bias.py -h`` and if the installation is succesfull,\nyou should see\n\n::\n\n\t\tusage: bias.py [-h] [--nsims-n0 NSIMS_N0] [--nsims-n1 NSIMS_N1] [--healpix]\n\t\t\t\t\t   [--new-scheme] [--lmax LMAX] [--lmin LMIN] [--biases BIASES]\n\t\t\t\t\t   version est1 est2\n\n\t\tVerify and benchmark RDN0 on the full noiseless sky.\n\n\t\tpositional arguments:\n\t\t  version              Version name.\n\t\t  est1                 Estimator 1, one of TT,TE,EE,EB,TB,MV,MVPOL.\n\t\t  est2                 Estimator 2, same as above.\n\n\t\toptional arguments:\n\t\t  -h, --help           show this help message and exit\n\t\t  --nsims-n0 NSIMS_N0  Number of sims.\n\t\t  --nsims-n1 NSIMS_N1  Number of sims.\n\t\t  --healpix            Use healpix instead of CAR.\n\t\t  --new-scheme         New simulation scheme.\n\t\t  --lmax LMAX          Maximum multipole for lensing.\n\t\t  --lmin LMIN          Minimum multipole for lensing.\n\t\t  --biases BIASES      Maximum multipole for lensing.\n\nFor a test beyond the imports, you can run\n``python examples/bias.py test TT TT --lmax 300 --nsims-n0 1 --nsims-n1 1`` but you'll need some files in your\n``data_path`` directory to get going.\n\nNote that if working on NERSC, you might have to run the scripts on an\ninteractive node.\n\nDocumentation\n-------------\n\nThis section describes how to provide documentation for the pipeline. You should pip install ``sphinx`` and ``sphinx_rtd_theme`` before proceeding.\n\n* Switch to the `docs` directory and edit the RST files using `reStructured markup \u003chttps://sublime-and-sphinx-guide.readthedocs.io/en/latest/index.html\u003e`_.\n* Run ``make html`` to build the HTML.\n* Open with a browser to view the HTML, e.g. ``firefox _build/html/index.html``\n* Submit your edits as a Pull Request.\n\n\n\nContributing\n------------\n\nIf you have write access to this repository, please:\n\n1. create a new branch\n2. push your changes to that branch\n3. merge or rebase to get in sync with master\n4. submit a pull request on github\n\nIf you do not have write access, create a fork of this repository and\nproceed as described above.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonsobs%2Fso-lenspipe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonsobs%2Fso-lenspipe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonsobs%2Fso-lenspipe/lists"}