Skip to main content

Stack patches of the CMB temperature sky around local maxima

Project description

Made at Code/Astro PyPI version Python version License: MIT Development Status

cmbstack

Stack patches of the Cosmic Microwave Background (CMB) temperature sky. Go here to see the full documentation and a worked example.

Installation

Install the latest release from PyPI:

pip install cmbstack

Or install the development version from GitHub:

git clone https://github.com/IsaacLP/cmbstack.git
cd cmbstack
pip install -e .

Quick Start

From a power spectrum file:

from cmbstack.main import StackingPipeline

pipeline = StackingPipeline.from_cl("path/to/spectrum.cl", nside=1024, seed=42)
StackedResult = pipeline.run()

From an existing FITS map:

pipeline = StackingPipeline.from_fits("path/to/map.fits", field=0)
StackedResult = pipeline.run()

From a map array already in memory:

pipeline = StackingPipeline.from_map(sky_map)
StackedResult = pipeline.run()

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

cmbstack-0.0.4.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cmbstack-0.0.4-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file cmbstack-0.0.4.tar.gz.

File metadata

  • Download URL: cmbstack-0.0.4.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for cmbstack-0.0.4.tar.gz
Algorithm Hash digest
SHA256 16225dfaebab14222e685c9196f320054ade5eace48a3fc10631c972bab62138
MD5 f51670621618db2d391082f0e696449d
BLAKE2b-256 89cf2c1f771f015e325e5aa4c2262df08abf42876102156e6f245ddca640a399

See more details on using hashes here.

File details

Details for the file cmbstack-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: cmbstack-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for cmbstack-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8c8d3f1e112801d012dcc1439cdd5afb2fedc6c7cfbdffef1b3ffbe2d006bb32
MD5 42869a86237f4374d26a3cfc3ba013c4
BLAKE2b-256 434f188e31f34b3e99085a1b510a68873af280f8372e64383479e974d6453bd0

See more details on using hashes here.

Supported by

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