Skip to content
/ GRASS Public

A testbed for stellar granulation in exoplanet RV searches.

License

Notifications You must be signed in to change notification settings

palumbom/GRASS

Repository files navigation

GRASS - GRanulation and Spectrum Simulator

Stable Dev Build Status

GRASS is a package designed to produce realistic time series of stellar spectra with realistic line-shape changes from solar-like granulation. GRASS v1.0.x is described in detail in Palumbo et al. (2022). The results of this paper can be reproduced using the showyourwork workflow from this repo.

Examples

Generating synthetic spectra with GRASS only takes a few lines of Julia:

using GRASS

# parameters for lines in the spectra
lines = [5434.5]     # array of line centers in angstroms
depths = [0.75]      # continuum-normalized depth of lines
resolution = 7e5     # spectral resolution of the output spectra
spec = SpecParams(lines=lines, depths=depths, resolution=resolution)

# specify number of epochs (default 15-second spacing)
disk = DiskParams(Nt=25)

# synthesize the spectra
wavelengths, flux = synthesize_spectra(spec, disk)

Additional details and examples can be found in the documentation.

Citation

DOI ascl:2110.011 arXiv If you use GRASS in your research, please cite the relevant software release and paper(s).

Author & Contact

GitHub followers

This repo is maintained by Michael Palumbo. You may may contact him via his email - palumbo@psu.edu