CLASSpp Manual
Cosmology reference and developer manual
Loading...
Searching...
No Matches
spectra.h File Reference
#include "transfer.h"

Go to the source code of this file.

Data Structures

struct  spectra
 

Detailed Description

Input data and shared types for power spectra.


Data Structure Documentation

◆ spectra

struct spectra

Input parameters for harmonic and matter power spectra.

Computed spectra belong to SpectraModule; this structure holds the shared configuration read by InputModule.

Data Fields
double z_max_pk = 0.

maximum z for P(k,z) output; set from perturbs by the reader

int non_diag = 0

sets the number of cross-correlation spectra that you want to calculate: 0 means only auto-correlation, 1 means only adjacent bins, and number of bins minus one means all correlations

short spectra_verbose

flag regulating the amount of information sent to standard output (none if set to zero)