randomsdss
Generate random points in Sloan Digital Sky Survey (SDSS) DR8 to DR16 footprints.
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.8%) to scientific vocabulary
Repository
Generate random points in Sloan Digital Sky Survey (SDSS) DR8 to DR16 footprints.
Basic Info
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 6
Metadata Files
README.md
RandomSDSS
Generate random points in the Sloan Digital Sky Survey (SDSS) DR8 to DR16 footprints.
This is a small wrapper around the package pymangle that facilitates the creation of random points in the SDSS fields. I included SDSS polygons for its diferent data releases (DR8 to DR16).
Basic Usage
```python import matplotlib.pyplot as plt import randomsdss
dr12 = randomsdss.DR12(catalog="BOSS") ra, dec = dr12.skyrandom(size=10000)
plt.figure() plt.scatter(ra, dec, s=1) plt.xlabel('RA [deg]') plt.ylabel('DEC [deg]') ```
Alternatively you can get the same result without the need to instantiate an object using:
python
ra, dec = randomsdss.sky_random(dr="DR12", catalog="BOSS", size=10_000)
If you also need a random redshift distribution you can provide a sample of redshifts and a random set will be generated from the underlying Probability Density Function (PDF):
python
z = randomsdss.z_random(z_array, size=10_000)
The z_random is a complementary function since it doesn't use any information from the SDSS catalogs, only the provided redshift array.
Author
Martin Chalela - email: tinchochalela@gmail.com
Owner
- Name: Martin Chalela
- Login: mchalela
- Kind: user
- Location: Córdoba, Argentina
- Company: IATE - CONICET
- Repositories: 4
- Profile: https://github.com/mchalela
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you found this software useful, please cite it as follows. :)"
authors:
- family-names: Chalela
given-names: Martin
orcid: https://orcid.org/0000-0002-9143-7974
title: "RandomSDSS"
version: 0.5.0
date-released: "2021-09-10"
url: "https://github.com/mchalela/RandomSDSS"
license: "MIT"
GitHub Events
Total
- Issues event: 2
- Issue comment event: 2
- Push event: 1
Last Year
- Issues event: 2
- Issue comment event: 2
- Push event: 1
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Martin Chalela | t****a@g****m | 46 |
Issues and Pull Requests
Last synced: 8 months ago
All Time
- Total issues: 1
- Total pull requests: 0
- Average time to close issues: 12 days
- Average time to close pull requests: N/A
- Total issue authors: 1
- Total pull request authors: 0
- Average comments per issue: 2.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 0
- Average time to close issues: 12 days
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 2.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- cnfranco (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 12 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 6
- Total maintainers: 1
pypi.org: randomsdss
Generate random points within SDSS DR8 to DR16 footprint.
- Homepage: https://github.com/mchalela/RandomSDSS
- Documentation: https://randomsdss.readthedocs.io/
- License: MIT
-
Latest release: 0.5.0
published over 4 years ago
Rankings
Maintainers (1)
Dependencies
- Sphinx *
- nbsphinx *
- numpy *
- sphinx-rtd-theme *
- actions/checkout v2 composite
- actions/setup-python v2 composite
- pypa/gh-action-pypi-publish master composite
- actions/checkout master composite
- actions/setup-python v2 composite