{"id":18620493,"url":"https://github.com/simonsobs/pspy","last_synced_at":"2025-04-11T02:31:10.349Z","repository":{"id":37094970,"uuid":"231612033","full_name":"simonsobs/pspy","owner":"simonsobs","description":"Python power spectrum code","archived":false,"fork":false,"pushed_at":"2025-03-17T13:54:55.000Z","size":21706,"stargazers_count":8,"open_issues_count":5,"forks_count":6,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-25T08:11:32.365Z","etag":null,"topics":["cmb","python","spectra"],"latest_commit_sha":null,"homepage":"https://pspy.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonsobs.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-01-03T15:11:36.000Z","updated_at":"2025-03-17T13:54:55.000Z","dependencies_parsed_at":"2023-02-17T18:15:55.690Z","dependency_job_id":"b4746bfc-e0b3-4fbc-b17d-f0532a65e45b","html_url":"https://github.com/simonsobs/pspy","commit_stats":{"total_commits":497,"total_committers":8,"mean_commits":62.125,"dds":"0.48893360160965793","last_synced_commit":"9f44336c20d0297211bd2d54790d9e322bb13271"},"previous_names":[],"tags_count":49,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsobs%2Fpspy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsobs%2Fpspy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsobs%2Fpspy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsobs%2Fpspy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonsobs","download_url":"https://codeload.github.com/simonsobs/pspy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248329546,"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":["cmb","python","spectra"],"created_at":"2024-11-07T04:06:34.830Z","updated_at":"2025-04-11T02:31:05.338Z","avatar_url":"https://github.com/simonsobs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"====\npspy\n====\n.. inclusion-marker-do-not-remove\n\n``pspy`` is a cosmology code for calculating CMB power spectra and covariance matrices. See the\npython example notebooks for an introductory set of examples on how to use the package.\n\n.. image:: https://img.shields.io/pypi/v/pspy.svg?style=flat\n   :target: https://pypi.python.org/pypi/pspy/\n.. image:: https://img.shields.io/badge/license-BSD-yellow\n   :target: https://github.com/simonsobs/pspy/blob/master/LICENSE\n.. image:: https://img.shields.io/github/actions/workflow/status/simonsobs/pspy/testing.yml?branch=master\n   :target: https://github.com/simonsobs/pspy/actions?query=workflow%3ATesting\n.. image:: https://readthedocs.org/projects/pspy/badge/?version=latest\n   :target: https://pspy.readthedocs.io/en/latest/?badge=latest\n.. image:: https://codecov.io/gh/simonsobs/pspy/branch/master/graph/badge.svg?token=HHAJ7NQ5CE\n   :target: https://codecov.io/gh/simonsobs/pspy\n.. image:: https://mybinder.org/badge_logo.svg\n   :target: https://mybinder.org/v2/gh/simonsobs/pspy/master?filepath=docs/source/notebooks/%2Findex.ipynb\n\n* Free software: BSD license\n* ``pspy`` documentation: https://pspy.readthedocs.io.\n* Scientific documentation: https://pspy.readthedocs.io/en/latest/scientific_doc.pdf\n\n\nInstalling\n----------\n\n.. code:: shell\n\n    pip install pspy [--user]\n\nYou can test your installation by running\n\n.. code:: shell\n\n    test-pspy\n\nIf everything goes fine, no errors will occur. Otherwise, you can report your problem on the `Issues\ntracker \u003chttps://github.com/simonsobs/pspy/issues\u003e`_.\n\nIf you plan to develop ``pspy``, it is better to checkout the latest version by doing\n\n.. code:: shell\n\n    git clone https://github.com/simonsobs/pspy.git /where/to/clone\n\nOnce downloaded, you can install using ``pip install .`` inside the project directory. We use the\n``meson`` build system, which should be understood by ``pip`` (it will build in an isolated\nenvironment).\n\nTo run an editable install, you will need to do so in a way that does not have build isolation (as\nthe backend build system, ``meson`` and ``ninja``, actually perform micro-builds on usage in this\ncase):\n\nThen you can install the ``pspy`` library and its dependencies *via*\n\n.. code:: shell\n\n    pip install --upgrade pip setuptools meson ninja meson-python numpy\n    pip install --no-build-isolation --editable /where/to/clone\n\nThe ``-e`` option allow the developer to make changes within the ``pspy`` directory without having\nto reinstall at every changes.\n\n\nTutorials notebooks\n-------------------\n\n* `Reading, writing and plotting maps  \u003chttps://pspy.readthedocs.org/en/latest/notebooks/tutorial_io.html\u003e`_\n* `Generate spin0 and spin2 spectra for CAR  \u003chttps://pspy.readthedocs.org/en/latest/notebooks/tutorial_spectra_car_spin0and2.html\u003e`_\n* `Generate spin0 and spin2 spectra for HEALPIX  \u003chttps://pspy.readthedocs.org/en/latest/notebooks/tutorial_spectra_healpix_spin0and2.html\u003e`_\n* `Projecting HEALPIX to CAR  \u003chttps://pspy.readthedocs.org/en/latest/notebooks/tutorial_projection.html\u003e`_\n* `Compute spectra for standard and pure B modes  \u003chttps://pspy.readthedocs.org/en/latest/notebooks/tutorial_purebb.html\u003e`_\n\nOthers tutorials can be found under the ``tutorials`` directory.\n\nDependencies\n------------\n\n* ``Python`` ≥ 3.8\n* ``pyFFTW`` https://pyfftw.readthedocs.io\n* ``healpy`` https://healpy.readthedocs.io\n* ``pixell`` https://pixell.readthedocs.io\n\n\nAuthors\n------------\n* `Thibaut Louis \u003chttps://thibautlouis.github.io\u003e`_\n* Steve Choi\n* DW Han\n* `Xavier Garrido \u003chttps://xgarrido.github.io\u003e`_\n* Sigurd Naess\n* `Adrien La Posta \u003chttps://adrien-laposta.github.io\u003e`_\n\nThe code is part of `PSpipe \u003chttps://github.com/simonsobs/PSpipe\u003e`_ the Simons Observatory power spectrum pipeline.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonsobs%2Fpspy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonsobs%2Fpspy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonsobs%2Fpspy/lists"}