API Reference
salsa Package
Synthetic Absorption Line Surveyor Application (SALSA) for extracting absorbers from sightlines in astrophysical hydrodynamics simulations.
Functions
|
Construct rays given a set of starting points and end points. |
|
Generates a catalog of absorber properties from a given number of lightrays through a dataset. |
|
Generate a sample of trident lightrays that randomly, uniformly cover impact parameter. |
|
randomly sample impact parameter to get random sightlines from a given galaxy center |
Classes
|
Base class for extracting absorbers from a Trident lightray for a given ion species. |
|
Create's plot to easily see where absorbers are found along the light ray both directly and through resulting spectra. |
|
Uses SPICE to extract absorbers from a Trident lightray for a given ion species. |
salsa.utils Package
Utilities for SALSA
Functions
|
Check if a directory already contains a given number of trident lrays and contains necessary fields |
|
Finds and returns files in a given directory with given extension. |
|
extract the ray's number from it's file name by removing 'ray' and '.h5' as well as preceding path |
|
convert ion species name from trident style to one that matches YT's (ie 'H I' --> 'H_p0') |
|
convert ion species name from trident style to one that matches YT's (ie 'H I' --> 'H_p0_number_density') |