cum_psf: Cumulative PSF

View source: R/psf_m.R

cum_psfR Documentation

Cumulative PSF

Description

Calculates the uni (annular) or bidimensional (sectorial, grid) cumulative PSF.

Usage

cum_psf(psfi, norm = TRUE)

Arguments

psfi

An object produced by the function mc_psf.

norm

Logical. Should the PSF be normalize to integrate to unity?

Details

The Monte Carlo simulation returns the area integral PSF on the intervals defined by the break points of the accumulator. This function sum those contributions evaluating the cumulative distribution at the break points.

Value

A numeric vector if the input simulation is in annular geometry and a matrix if is in sectorial or grid geometry.


AlexCast/apsfs documentation built on Feb. 1, 2024, 9:48 p.m.