https://github.com/astarvienna/scopesim_templates

https://github.com/astarvienna/scopesim_templates

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • 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 (16.2%) to scientific vocabulary

Keywords from Contributors

astronomy astropy astrophysics
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: AstarVienna
  • License: gpl-3.0
  • Language: Python
  • Default Branch: main
  • Size: 12.2 MB
Statistics
  • Stars: 2
  • Watchers: 7
  • Forks: 4
  • Open Issues: 18
  • Releases: 10
Created about 7 years ago · Last pushed 11 months ago
Metadata Files
Readme License

README.md

ScopeSim Templates

Poetry Build Status Documentation Status Codecov

PyPI - Version PyPI - Python Version GitHub Release Date dev version

License: GPL v3

This packages contain a number of templates to generate Source objects to be used in simulations with the ScopeSim Simulator

The Documentation can be found here: https://scopesim-templates.readthedocs.io/en/latest

Installation

The best way to install the software is to use pip

bash pip install scopesim_templates

To install the development version you can clone the repository

bash git clone https://github.com/AstarVienna/ScopeSim_Templates/ cd ScopeSim_Templates pip install -e .

Requirements

The Source object

The above functions are created to easy the creation of standard sources but the power of the Source object doesn't end there and can be used to create endless sources possibilities.

In a nutshell a Source object contains a spacial and spectral description of the sources. The spectral description are in the form of synphot spectra and the spacial description can be an astropy table referencing the spectra or a fits image. Source can also accept datacubes. The speXtra package contains an extensive library of spectral templates that can be used with the sources. Please check the relevant documentation.

Source templates included

Currently, the package covers the most typical sources used in astronomy:

  • stellar

    • star: Places a single star on the field
    • stars: Places a list of stars on the field
    • star_field: Creates field of stars with random positions
    • star_grid: Creates a field of stars with regular positions
    • cluster: Creates an age=0 cluster with a user selected mass
  • extragalactic

    • galaxy: A simple sersic model with a user selected SED from the speXtra database
    • galaxy3D: A more complex model that includes a velocity field and velocity dispersion field
    • spiral_two_component: Simple two component model with an outer spiral young SED and an old SED bulge
    • elliptical: Another sersic model using the Brown SEDs
  • misc

    • point_source: similar to star but using any SED from the speXtra database
    • uniform_source: Creates a uniform source with any SED from speXtra
    • source_from_file: Load the source from a fits file. Depending on the characteristics othe functions may be more suitable
    • source_from_imagehdu: creates a source from an ImageHDU with an arbitrary flux and scale
    • source_from_imagehdu_with_flux: creates a source from an ImageHDU where the flux/pixel is known
    • source_from_array: General function to create a source from a 2D numpy array
    • source_from_cube: Wrapper to create a source from a 3D datacube
  • calibration

    • lamp: Simulates a calibration lamp, i.e. a homogenous source with emissions lines
    • flat_field: Simulates a flat field
    • empty_sky: To simulate a sky without no other sources

Please see the documentation how to use each particular source and contact us (raise an issue or submit a pull request) if more specialized sources are needed.

Owner

  • Name: A*Vienna
  • Login: AstarVienna
  • Kind: organization
  • Location: Vienna. Austria

GitHub Events

Total
  • Create event: 43
  • Commit comment event: 1
  • Issues event: 9
  • Release event: 4
  • Delete event: 41
  • Issue comment event: 83
  • Push event: 79
  • Pull request review comment event: 13
  • Pull request review event: 29
  • Pull request event: 75
Last Year
  • Create event: 43
  • Commit comment event: 1
  • Issues event: 9
  • Release event: 4
  • Delete event: 41
  • Issue comment event: 83
  • Push event: 79
  • Pull request review comment event: 13
  • Pull request review event: 29
  • Pull request event: 75

Committers

Last synced: over 3 years ago

All Time
  • Total Commits: 171
  • Total Committers: 4
  • Avg Commits per committer: 42.75
  • Development Distribution Score (DDS): 0.404
Top Committers
Name Email Commits
Kieran k****i@g****m 102
Miguel Verdugo m****l@g****m 44
Hugo Buddelmeijer h****o@b****l 24
Sebastian s****r@p****e 1
Committer Domains (Top 20 + Academic)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 1,357 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 18
  • Total maintainers: 4
pypi.org: scopesim_templates

On-sky source templates for ScopeSim

  • Versions: 18
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 1,357 Last month
Rankings
Downloads: 5.7%
Dependent packages count: 10.4%
Average: 24.9%
Dependent repos count: 58.6%
Last synced: 11 months ago

Dependencies

.github/workflows/markdown_link_check.yml actions
  • actions/checkout master composite
  • gaurav-nelson/github-action-markdown-link-check v1 composite
.github/workflows/tests.yml actions
pyproject.toml pypi
  • astropy >=5.0
  • beautifulsoup4 >=4.4
  • docutils >=0.15
  • lxml >=4.5.0
  • matplotlib >=3.2.0
  • numpy >=1.18
  • pyckles >=0.2
  • pyyaml >=5.2
  • requests >=2.20
  • scipy >=1.4.0
  • scopesim >=0.5.5
  • spextra >=0.33
  • synphot >=1.1.0
.github/workflows/bump.yml actions
  • abatilo/actions-poetry v2 composite
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
.github/workflows/publish_pypi.yml actions
  • abatilo/actions-poetry v3 composite
  • actions/checkout v4 composite
  • actions/download-artifact v4.1.7 composite
  • actions/setup-python v5 composite
  • actions/upload-artifact v4 composite
  • shogo82148/actions-upload-release-asset v1 composite
poetry.lock pypi
  • 156 dependencies