Cepheid.Normalization.Magnitude (Cepheid v0.1.0)

View Source

Functions for normalizing the magnitude of light curves.

Summary

Functions

Computes range- and phase-normalized visual magnitudes using a lambertian sphere phase function.

Functions

normalize_to_range_and_phase(observed_magnitudes, observed_phases, observed_ranges, std_range, std_phase)

Computes range- and phase-normalized visual magnitudes using a lambertian sphere phase function.

Parameters

  • observed_magnitudes: Nx.Tensor of observed apparent magnitudes
  • observed_phases: Nx.Tensor of phase angles in radians
  • observed_ranges: Nx.Tensor of ranges
  • std_range: Standard range for normalization (same units as observed_ranges)
  • std_phase: Standard phase for normalization in radians

Returns

  • Nx.Tensor of normalized magnitudes