OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
bbt_2_rad.c File Reference
#include "viirs_sim_sdr.h"
#include <math.h>
Include dependency graph for bbt_2_rad.c:

Go to the source code of this file.

Macros

#define H_CON   6.6262e-34 /* Plank's const J s^-1 */
 
#define C_CON   2.99792458e8 /* speed of light m s^-1 */
 
#define K_CON   1.3807e-23 /* Boltzman's constant J K^-1 */
 
#define C1   2. * H_CON * pow( C_CON, 2. ) * 1.e24
 
#define C2   H_CON * 1.e6 * C_CON / K_CON
 

Functions

float bbt_2_rad (float bbt, float lam)
 

Macro Definition Documentation

◆ C1

#define C1   2. * H_CON * pow( C_CON, 2. ) * 1.e24

Definition at line 6 of file bbt_2_rad.c.

◆ C2

#define C2   H_CON * 1.e6 * C_CON / K_CON

Definition at line 7 of file bbt_2_rad.c.

◆ C_CON

#define C_CON   2.99792458e8 /* speed of light m s^-1 */

Definition at line 4 of file bbt_2_rad.c.

◆ H_CON

#define H_CON   6.6262e-34 /* Plank's const J s^-1 */

Definition at line 3 of file bbt_2_rad.c.

◆ K_CON

#define K_CON   1.3807e-23 /* Boltzman's constant J K^-1 */

Definition at line 5 of file bbt_2_rad.c.

Function Documentation

◆ bbt_2_rad()

float bbt_2_rad ( float  bbt,
float  lam 
)

Definition at line 9 of file bbt_2_rad.c.