SkySurvey¶
- class whampy.SkySurvey(filename=None, mode='local', idl_var=None, file_list=None, extension=None, max_raw_vel=False, from_table=None, tuner_list=None, unreduced_list=None, input_data_R=False, survey='mw_ha', **kwargs)[source]¶
Bases:
SkySurveyMixin,TableCore WHAM SkySurvey CLass
Load, view, manipulate, and plot basic results from WHAM Sky Survey
- Parameters:
- filename: ‘str’, optional, must be keyword
filename of WHAM survey fits file Defaults to URL can also be idl sav file
- mode: ‘str’, optional, must be keyword
can be “local” or “remote” to signify using local file or remote access
- idl_var: ‘str’, optional, must be keyword
if provided, points to name of IDL structure in sav file containing relevant data by default, will take the first variable that is a
numpy.recarray- file_list: ‘str’, ‘listlike’, optional, must be keyword
if provided, reads combo fits files directly
- extension: ‘str’, optional, must be keyword
extension to load from fits file default to “ATMSUB”
- max_raw_vel: ‘bool’, optional, must be keyword
if True, returns max RAWSPEC velocity
- from_table: `astropy.table.Table`, `dictionary`, optional, must be keyword
if provided, initializes directly from a Table
- tuner_list: ‘str’, ‘listlike’, optional, must be keyword
if provided, reads tuner spectra fits files directly
- unreduced_list: `str`, `listtlike`, optional, must be keyword
if provided, reads unreduced data (RAW/PROC SPEC)
- input_data_R: `bool`, optional, must be keyword
if True, assumed input data unit is Rayleighs
- survey: ‘str’, optional, must be keyword
specifies which WHAM survey data to load options are
“mw_ha”:Milky Way Sky Survey of H-Alpha “mw_sii”:Milky Way [SII] Survey (preliminary) “lmc_ha”:Large Magellanic Cloud H-Alpha Survey (Smart et al. 2023) “smc_ha”:Small Magellanic Cloud H-Alpha Survey (Smart et al. 2019)
Methods Summary
sky_section(bounds[, radius, wrap_at_180])Extract a sub section of the survey from the sky
Methods Documentation
- sky_section(bounds, radius=None, wrap_at_180=True)[source]¶
Extract a sub section of the survey from the sky
- Parameters:
- bounds: `list` or `Quantity` or `SkyCoord`
- if
listorQuantitymust be formatted as: [min Galactic Longitude, max Galactic Longitude, min Galactic Latitude, max Galactic Latitude] or [center Galactic Longitude, center Galactic Latitude] and requires radius keyword to be set default units of u.deg are assumed
- if `SkyCoord’, must be length 4 or length 1 or length 2
length 4 specifies 4 corners of rectangular shape length 1 specifies center of circular region and requires radius keyword to be set length 2 specifies two corners of rectangular region
- if
- radius: ‘number’ or ‘Quantity’, optional, must be keyword
sets radius of circular region
- wrap_at_180: `bool`, optional, must be keyword
if True, wraps longitude angles at 180d use if mapping accross Galactic Center