StellarFlare¶
-
class vspec_vsm.StellarFlare(fwhm:
astropy.units.Quantity, energy:astropy.units.Quantity, lat:astropy.units.Quantity, lon:astropy.units.Quantity, Teff:astropy.units.Quantity, tpeak:astropy.units.Quantity)¶ Bases:
objectClass to store and control stellar flare information
- Parameters:
fwhm (astropy.units.Quantity) – Full-width-half-maximum of the flare
energy (astropy.units.Quantity) – Time-integrated bolometric energy
lat (astropy.units.Quantity) – Latitude of flare on star
lon (astropy.units.Quantity) – Longitude of flare on star
Teff (astropy.units.Quantity) – Blackbody temperature
tpeak (astropy.units.Quantity) – Time of the flare peak
- fwhm¶
Full-width-half-maximum of the flare
- Type:
- energy¶
Time-integrated bolometric energy
- Type:
- lat¶
Latitude of flare on star
- Type:
- lon¶
Longitude of flare on star
- Type:
- Teff¶
Blackbody temperature
- Type:
- tpeak¶
Time of the flare peak
- Type:
Notes
Flare lightcurve profiles are calculated using the xoflares package [1]. In order to keep the multiwavenlength model self-consistent, we model a flare as a constant temperature surface that emits blackbody radiation. The lightcurve is created as the surface area grows, then decays.
References
Methods
areacurve(time)Compute the flare area as a function of time
Calculate the flare area at its peak
get_timearea(time)Calcualte the integrated time*area of the flare.
Methods Summary
areacurve(time)Compute the flare area as a function of time
Calculate the flare area at its peak
get_timearea(time)Calcualte the integrated time*area of the flare.
Methods Documentation
-
areacurve(time:
astropy.units.Quantity)¶ Compute the flare area as a function of time
- Parameters:
time (astropy.units.Quantity) – The times at which to sample the area
- Returns:
Area at each time
- Return type:
-
calc_peak_area()
astropy.units.Quantity¶ Calculate the flare area at its peak
- Returns:
Peak flare area
- Return type:
-
get_timearea(time:
astropy.units.Quantity)¶ Calcualte the integrated time*area of the flare.
- Parameters:
time (astropy.units.Quantity) – the times at which to sample the area.
- Returns:
The integrated time-area of the flare.
- Return type: