spotter.doppler#
Doppler and spectral calculations for rotating stars.
This module provides functions to compute disk-integrated spectra, radial velocity maps, and related quantities for stars with non-uniform surfaces.
Functions#
|
Compute the integrated spectrum of a rotating Star. |
|
Compute the integrated spectrum of a rotating Star. |
|
Compute the radial velocity design matrix for a Star. |
|
Compute the disk-integrated radial velocity of a Star. |
Module Contents#
- spotter.doppler.spectrum(star: spotter.star.Star, time: jax.typing.ArrayLike, normalize: bool = True) jax.typing.ArrayLike[source]#
Compute the integrated spectrum of a rotating Star.
- Parameters:
star (Star) – Star object.
time (ArrayLike) – Time in days.
normalize (bool, optional)
- Returns:
spectrum – Integrated spectrum.
- Return type:
ndarray
- spotter.doppler.transit_spectrum(star: spotter.star.Star, time: float, x: float, y: float, z: float, r: float, normalize: bool = True) jax.typing.ArrayLike[source]#
Compute the integrated spectrum of a rotating Star.
- Parameters:
star (Star) – Star object.
time (float) – Time in days.
normalize (bool, optional)
- Returns:
spectrum – Integrated spectrum.
- Return type:
ndarray
- spotter.doppler.rv_design_matrix(star: spotter.star.Star, time: float) jax.typing.ArrayLike[source]#
Compute the radial velocity design matrix for a Star.
- Parameters:
star (Star) – Star object.
time (float) – Time in days.
- Returns:
matrix – Radial velocity design matrix.
- Return type:
ndarray
- spotter.doppler.radial_velocity(star: spotter.star.Star, time: float) jax.typing.ArrayLike[source]#
Compute the disk-integrated radial velocity of a Star.
- Parameters:
star (Star) – Star object.
time (float) – Time in days.
- Returns:
rv – Disk-integrated radial velocity.
- Return type:
ndarray