Constructor

NumCosmoMathPowspecFilternew

Declaration [src]

NcmPowspecFilter*
ncm_powspec_filter_new (
  NcmPowspec* ps,
  NcmPowspecFilterType type
)

Description [src]

Creates a new NcmPowspecFilter from the power spectrum ps.

Parameters

ps

Type: NcmPowspec

A NcmPowspec.

The data is owned by the caller of the function.
type

Type: NcmPowspecFilterType

A type from NcmPowspecFilterType.

Return value

Type: NcmPowspecFilter

The newly created NcmPowspecFilter.

The caller of the function takes ownership of the data, and is responsible for freeing it.