phoebe_radiation

phoebe_radiation

Synopsis

int                 phoebe_compute_passband_intensity   (double *intensity,
                                                         PHOEBE_hist *SED,
                                                         PHOEBE_hist *PTF);

Description

Details

phoebe_compute_passband_intensity ()

int                 phoebe_compute_passband_intensity   (double *intensity,
                                                         PHOEBE_hist *SED,
                                                         PHOEBE_hist *PTF);

This function computes passband intensity of the passed spectral energy distribution function and the passed passband transmission function. Passband intensity is defined as:

I = \pi \int SED (lambda) PTF (lambda) dlambda / \int PTF (lambda) dlambda

intensity :

placeholder for the computed value

SED :

spectral energy distribution to be integrated

PTF :

passband transmission function to be integrated

Returns :

PHOEBE_error_code