RotationalBroadening

class starkit.base.operations.stellar.RotationalBroadening(velocity_per_pix=None, vrot=0)[source]

Bases: StellarOperationModel

The rotational broadening kernel was taken from Observation and Analysis of Stellar Photospheres by David Gray

Attributes Summary

limb_darkening

operation_name

param_names

Names of the parameters that describe models of this type.

vrot

Methods Summary

evaluate(wavelength, flux, v_rot, limb_darkening)

Evaluate the model on some input variables.

from_grid(grid[, vrot])

rotational_profile(vrot, limb_darkening)

Attributes Documentation

limb_darkening = Parameter('limb_darkening', value=0.6, fixed=True)
operation_name = 'rotation'
param_names = ('vrot', 'limb_darkening')

Names of the parameters that describe models of this type.

The parameters in this tuple are in the same order they should be passed in when initializing a model of a specific type. Some types of models, such as polynomial models, have a different number of parameters depending on some other property of the model, such as the degree.

When defining a custom model class the value of this attribute is automatically set by the Parameter attributes defined in the class body.

vrot = Parameter('vrot', value=nan)

Methods Documentation

evaluate(wavelength, flux, v_rot, limb_darkening)[source]

Evaluate the model on some input variables.

classmethod from_grid(grid, vrot=0)[source]
rotational_profile(vrot, limb_darkening)[source]