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 | 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file maguniverse-0.1.2.tar.gz.
File metadata
- Download URL: maguniverse-0.1.2.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1549a987fcededd6323d1769c037ace625869d25bfc12fd0ee18c5ec414ad88
|
|
| MD5 |
d1f0fdc3d6aa98e663ff08ec246343b0
|
|
| BLAKE2b-256 |
f324a99ce04a502b1e7b213df6a46b2f8ae96fa3e6c707ed2ca1aca03a8db37c
|
Provenance
The following attestation bundles were made for maguniverse-0.1.2.tar.gz:
Publisher:
python-publish.yml on xli2522/magUniverse
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
maguniverse-0.1.2.tar.gz -
Subject digest:
e1549a987fcededd6323d1769c037ace625869d25bfc12fd0ee18c5ec414ad88 - Sigstore transparency entry: 219820579
- Sigstore integration time:
-
Permalink:
xli2522/magUniverse@838f4b1ad7d8bf577f13d31f64feead0233314e2 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/xli2522
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@838f4b1ad7d8bf577f13d31f64feead0233314e2 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file maguniverse-0.1.2-py3-none-any.whl.
File metadata
- Download URL: maguniverse-0.1.2-py3-none-any.whl
- Upload date:
- Size: 22.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71674f5a3057265443ee26809a424f1973351d5eaa586e2c48f145664e503d26
|
|
| MD5 |
4eb1a303935a517b504ea11b5faa5908
|
|
| BLAKE2b-256 |
b6c46da12c5a81524eeb0ff26a3ff3fd98c1244c2063016a3ca96610c11a4538
|
Provenance
The following attestation bundles were made for maguniverse-0.1.2-py3-none-any.whl:
Publisher:
python-publish.yml on xli2522/magUniverse
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
maguniverse-0.1.2-py3-none-any.whl -
Subject digest:
71674f5a3057265443ee26809a424f1973351d5eaa586e2c48f145664e503d26 - Sigstore transparency entry: 219820582
- Sigstore integration time:
-
Permalink:
xli2522/magUniverse@838f4b1ad7d8bf577f13d31f64feead0233314e2 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/xli2522
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@838f4b1ad7d8bf577f13d31f64feead0233314e2 -
Trigger Event:
workflow_dispatch
-
Statement type: