Skip to main content

A Python-based data manager for working with tabulated data from publications of observational surveys of cosmic magnetic fields.

Project description

Magnetic Field in the Universe

A Python‑based data manager for working with tabulated data from publications of observational surveys of cosmic magnetic fields. Instead of hosting large data files, this repo gives you the scripts, parsers, and notebooks you need to download, standardize, and compare datasets from the literature (dust polarimetry, Zeeman splitting, Faraday rotation, and more).


Goals

  • Provide reproducible Python pipelines that turn publication data products into clean, science‑ready tables on your own machine.
  • Make it simple to build your data collection and keep it in sync with new survey releases.
  • Enable cross‑comparison between magnetic‑field-related quantities from different publications or surveys.
  • Serve as a lightweight, community‑maintained magnetic-field-in-the-universe research knowledge base.

Quick Start Notebook

github installation of magUniverse is available:

Logo Platform Command
GitHub logo GitHub python -m pip install https://github.com/xli2522/magUniverse/archive/refs/heads/main.zip

Or setup the development repo via setup.py

$ cd ./magUniverse
$ python setup.py install

After installation, go through the examples in notebooks\00_quickstart.ipynb for a quick start.


Repository layout (subject to change)

magUniverse-master
├── .github/workflows          # Github workflow files
│   ├── main.yml               # Auto update manifest and magUniverse Paper Collection Website
│   └── deploy_gh_pages.yml    # Auto deploy magUniverse Paper Collection Website
│
│── maguniverse/
│   ├── data/                  # Get raw data and convert to tidy CSV, TXT, … 
│   │   ├── polarization/      # CSO, JCMT, ALMA, Planck, …
│   │   ├── zeeman/            # Crutcher catalog, OH/NH3, …
│   │   ├── faraday/           # RM grids, LOFAR, ASKAP, …
│   │   └── gas/               # NRAO, Haystack, Effelsberg, …
│   │
│   ├── utils/                 # Python helpers
│   │   └── fetch_ascii.py     # Scripts to fetch raw ascii data from online repositories
│   │
│   └── datafiles/             # User copy of data
│
├── notebooks/                 # Jupyter demo notebooks
│   └── 00_quickstart.ipynb    # 15‑min tour of the toolbox
│
├── docs/                      # Longer‑form docs & rendered HTML
│   ├── manifest.json/         # JSON of magUniverse metadata and getter methods
│   └── index.html
│
├── examples/                  # Mini‑projects / tutorials
│   └── generate_manifest.py   # Manifest of all magUniverse getter methods
│
├── tests/                     # Unit tests for parsers
├── requirements.txt           # Lists the Python dependencies for the project
├── CONTRIBUTING.md            # How to add code or docs
├── LICENSE                    # MIT
├── setup.py                   # Allow pip-install via ZIP
└── README.md                  # ← you are here

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

maguniverse-0.1.3.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

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

maguniverse-0.1.3-py3-none-any.whl (23.7 kB view details)

Uploaded Python 3

File details

Details for the file maguniverse-0.1.3.tar.gz.

File metadata

  • Download URL: maguniverse-0.1.3.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for maguniverse-0.1.3.tar.gz
Algorithm Hash digest
SHA256 9746c0bc3024e927fd2cd80b96179b38d2b8e2970896f19e64c24c7085b3ed90
MD5 1fa585c8148e1d07722858f12feea108
BLAKE2b-256 e746ca8c8780cfd3605fea9d0726b98a93ce4c7e0e900fdf448ef40ac6c011b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for maguniverse-0.1.3.tar.gz:

Publisher: python-publish.yml on xli2522/magUniverse

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file maguniverse-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: maguniverse-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 23.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for maguniverse-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9b1a6488f0b78352d73f030bac6ab759a11324a2e6667fadaa1e6ff7e0e81b63
MD5 73fe95199b4b64855c1e740d5e3ee15d
BLAKE2b-256 6147d2e4f1efabb4993db48ed4c325568adfac1da596328c4c8959e16933a8ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for maguniverse-0.1.3-py3-none-any.whl:

Publisher: python-publish.yml on xli2522/magUniverse

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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