randomsdss

Generate random points in Sloan Digital Sky Survey (SDSS) DR8 to DR16 footprints.

https://github.com/mchalela/randomsdss

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
Last synced: 7 months ago · JSON representation ·

Repository

Generate random points in Sloan Digital Sky Survey (SDSS) DR8 to DR16 footprints.

Basic Info
  • Host: GitHub
  • Owner: mchalela
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 4.37 MB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 6
Created almost 5 years ago · Last pushed about 1 year ago
Metadata Files
Readme License Citation

README.md

RandomSDSS

PyPI version RandomSDSS Coverage Status Documentation Status License: MIT

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]') ```

DR12 example

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

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

All Time
  • Total Commits: 46
  • Total Committers: 1
  • Avg Commits per committer: 46.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 1
  • Committers: 1
  • Avg Commits per committer: 1.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email 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.

  • Versions: 6
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 12 Last month
Rankings
Dependent packages count: 9.8%
Dependent repos count: 21.8%
Average: 28.2%
Forks count: 29.9%
Stargazers count: 38.9%
Downloads: 40.5%
Maintainers (1)
Last synced: 8 months ago

Dependencies

docs/requirements.txt pypi
  • Sphinx *
  • nbsphinx *
  • numpy *
  • sphinx-rtd-theme *
.github/workflows/pypi_publish.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • pypa/gh-action-pypi-publish master composite
.github/workflows/randomSDSS_ci.yml actions
  • actions/checkout master composite
  • actions/setup-python v2 composite
pyproject.toml pypi
setup.py pypi