GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - kadrlica/dsphsim: Simulate spectroscopic observations of dwarf galaxies

BranchesTags
Open more actions menu

Latest commit

 

History

124 Commits
124 Commits

Folders and files

NameName
Last commit message
Last commit date
bin
bin
 
 
dsphsim
dsphsim
 
 
tests
tests
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
MANIFEST.in
MANIFEST.in
 
 
README.md
README.md
 
 
requirements.txt
requirements.txt
 
 
setup.cfg
setup.cfg
 
 
setup.py
setup.py
 
 
versioneer.py
versioneer.py
 
 

Repository files navigation

Build PyPI Release License

Simulate dwarf galaxies

This tool relies on the Ultra-faint Galaxy Likelihood (ugali) toolkit for simulating the spatial and color-magnitude distributions of stars in dwarf galaxies. Stellar velocities are simulated via a numerical integration of the Eddington formula.

Installation

Installation is not the easiest thing in the world, but you can check out the travis.yml.

Supported Instruments

  • DEIMOS on Keck
  • IMACS on Magellan
  • GIRAFFE on VLT
  • AAOmega/2dF on AAT
  • M2FS on Magellan
  • GMACS for GMT

Output Column Descriptions

The output of the dsphsim executable is an ascii table with the following columns.

Column Unit Description
RA deg Right ascension
DEC deg Declination
MAG_G mag DES g-band magnitude
MAG_I mag DES i-band magnitude
ANGSEP deg Angular separtion from dwarf centroid
RPROJ kpc Projected radial separation from dwarf centroid
SNR Simulated signal-to-noise ratio for spectroscopy
VTRUE km/s True simulated random velocity drawn from the underlying distribution
VSTAT km/s Adjustment to true velocity from statistical measurement uncertainty related to the brightness of each star.
VSYS km/s Adjustment to true velocity from instrumental systematic uncertainty
VMEAS km/s Velocity measured by instrument
VMEAS = VTRUE+VSTAT+VSYS
VMEASERR km/s Measured statistical velocity error
VSYSERR km/s Assumed instrumental systematic velocity error
VERR km/s Quadrature sum of VMEASERR and VSYSERR
VERR = sqrt(VMEASERR2+VSYSERR2)

The code used to generate these data products can be found in dsphsim/simulator.py.

This table can be read into a numpy array using numpy.genfromtxt:

import numpy as np
filename = "<your_filename.dat>"
data = np.genfromtxt(filename,names=True,dtype=None)

About

Simulate spectroscopic observations of dwarf galaxies

Resources

Readme
MIT license
Activity

Stars

5 stars

Watchers

2 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.