https://github.com/deepskies/deepsurveysim

An astrological survey simulation designed for testing MDP-style algorithms

https://github.com/deepskies/deepsurveysim

Science Score: 33.0%

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

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: arxiv.org
  • Committers with academic emails
    1 of 4 committers (25.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.7%) to scientific vocabulary
Last synced: 6 months ago · JSON representation

Repository

An astrological survey simulation designed for testing MDP-style algorithms

Basic Info
  • Host: GitHub
  • Owner: deepskies
  • License: bsd-3-clause
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 1.6 MB
Statistics
  • Stars: 4
  • Watchers: 10
  • Forks: 0
  • Open Issues: 4
  • Releases: 2
Created almost 3 years ago · Last pushed over 2 years ago
Metadata Files
Readme License

README.md

status test-telescope PyPI version Documentation Status

Summary

Modern astronomical surveys have multiple competing scientific goals. Optimizing the observation schedule for these goals presents significant computational and theoretical challenges, and state-of-the-art methods rely on expensive human inspection of simulated telescope schedules. Automated methods, such as reinforcement learning, have recently been explored to accelerate scheduling. DeepSurveySim provides methods for tracking and approximating sky conditions for a set of observations from a user-supplied telescope configuration.

Arxiv

2312.09092

Documentation

ReadTheDocs

Build locally

First install the package from source, then run

pip install sphinx cd docs make html

The folder docs/_build/html will be populated with the documentation. Navigate to file:///<path to local install>/docs/_build/html/index.html in any web browser to view.

Installation

Install from pip

Simply run

pip install DeepSurveySim

This will install the project with all its mandatory requirements.

If you wish to add the optional skybright, use the command:

pip install git+https://github.com/ehneilsen/skybright.git

Not installing this will result in loss of the variables sky_magintude, tau, and teff, but will work on most (if not all) machines.

Install from source

The project is built with poetry, and this is the recommended install method. All dependencies are resolved in the poetry.lock file, so you can install immediately from the command

``` git clone https://github.com/deepskies/DeepSurveySim.git poetry shell poetry install poetry add git+https://github.com/ehneilsen/skybright.git

```

Assuming you have poetry installed on your base environment. This will use lock file to install all the correct versions. To use the installed environment, use the command poetry shell to enter it. The command exit will take you out of this environment as it would for any other type of virtual environment.

Otherwise, you can use the pyproject.toml with your installer of choice.

To verify all the depedencies are properly installed - run python run pytest.

Example:

To run as a live envoriment for RL

``` from DeepSurveySim.Survey.survey import Survey from DeepSurveySim.IO.read_config import ReadConfig

seoconfig = ReadConfig( observatorconfiguration="DeepSurveySim/settings/SEO.yaml" )()

surveyconfig = ReadConfig( observatorconfiguration="DeepSurveySim/settings/equatorial_survey.yaml", survey=True )()

env = Survey(seoconfig, surveyconfig) observation = env.observationcalculation()

stop = True while not stop: action = model.predict_action(observation) observation, reward, stop, log = env.step() ```

To generate observations

``` from DeepSurveySim.Survey.survey import Survey from DeepSurveySim.IO.read_config import ReadConfig

seoconfig = ReadConfig( observatorconfiguration="DeepSurveySim/settings/SEO.yaml" )()

surveyconfig = ReadConfig( observatorconfiguration="DeepSurveySim/settings/equatorial_survey.yaml", survey=True )()

env = Survey(seoconfig, surveyconfig) observations = env() ```

Acknowledgement

This work was produced by Fermi Research Alliance, LLC under Contract No. DE-AC02-07CH11359 with the U.S. Department of Energy, Office of Science, Office of High Energy Physics. Publisher acknowledges the U.S. Government license to provide public access under the DOE Public Access Plan DOE Public Access Plan.

We acknowledge the Deep Skies Lab as a community of multi-domain experts and collaborators who’ve facilitated an environment of open discussion, idea-generation, and collaboration. This community was important for the development of this project.

We thank Franco Terranova and Shohini Rhae for their assistance in testing the preliminary version of the package, and Eric Neilsen Jr. for his domain expertise.

Citation

If this package is useful for your work, we request you cite us: @misc{voetberg2023deepsurveysim, title={DeepSurveySim: Simulation Software and Benchmark Challenges for Astronomical Observation Scheduling}, author={Maggie Voetberg and Brian Nord}, year={2023}, eprint={2312.09092}, archivePrefix={arXiv}, primaryClass={astro-ph.IM} }

If the skybright option is used, we also encourage its citation: @misc{skybright_Neilsen:2019, author = "Neilsen, Eric", title = "{skybright}", reportNumber = "FERMILAB-CODE-2019-01", doi = "10.11578/dc.20190212.1", month = "2", year = "2019" }

Owner

  • Name: Deep Skies Lab
  • Login: deepskies
  • Kind: organization
  • Email: deepskieslab@gmail.com

Building community and making discoveries since 2017

GitHub Events

Total
  • Issues event: 1
Last Year
  • Issues event: 1

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 88
  • Total Committers: 4
  • Avg Commits per committer: 22.0
  • Development Distribution Score (DDS): 0.17
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
voetberg m****7@g****m 73
voetberg m****v@f****v 12
Shohini Rhea Sarkar 6****5@u****m 2
terranovaa t****s@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 23
  • Total pull requests: 22
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 1 day
  • Total issue authors: 2
  • Total pull request authors: 1
  • Average comments per issue: 0.87
  • Average comments per pull request: 0.14
  • Merged pull requests: 21
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • voetberg (21)
  • terranovafr (2)
Pull Request Authors
  • voetberg (22)
Top Labels
Issue Labels
enhancement (9) alpha (6) documentation (5) bug (3) Tests (2) priority (1) help wanted (1) wontfix (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 6 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 1
  • Total maintainers: 1
pypi.org: deepsurveysim

An astrological survey simulation designed for testing MDP-style algorithms

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 6 Last month
Rankings
Dependent packages count: 7.3%
Average: 38.0%
Dependent repos count: 68.6%
Maintainers (1)
Last synced: 7 months ago