amplitude_with_wavelength
amplitude_with_wavelength#
- gadfly.scale.amplitude_with_wavelength(filter, temperature, n_wavelengths=10000, **kwargs)[source]#
Scale power spectral feature amplitudes with wavelength and stellar effective temperature, compared to their amplitudes when observed with SOHO VIRGO/PMO6.
Follows the Taylor expansion argument in Sect 5.1 of Morris et al. (2020), see Eqn 11 [1].
Makes use of the
tynt
package to retrieve filter transmittance curves. To see available filters viatynt
, run:>>> from tynt import FilterGenerator >>> f = FilterGenerator() >>> print(f.available_filters())
- Parameters
filter (str or Filter) – Either the SVO FPS name for a filter bandpass available via the
tynt
package, or an instance of theFilter
object itself.temperature (Quantity) – Stellar effective temperature
n_wavelengths (int) – Number of wavelengths included in the calculation.
**kwargs (dict) – Passed on to
reconstruct()
.
- Returns
alpha – Scaling for the amplitude of intensity features relative to the SOHO VIRGO amplitudes
- Return type
References