Robust routine for evaluation of the time sampling pattern and guessing a suitable frequency grid. The spec structure containing grid parameters is returned as function value.
(C) A. Schwarzenberg-Czerny 1998-2018, alex@camk.edu.pl Distribution of FGRID is free, except that distribution of modifications is prohibited.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=TIME), | intent(in) | :: | t(:) | times |
||
integer, | intent(in) | :: | npar | number of model parameters (to refine frequency grid) |
||
real(kind=TIME), | intent(in) | :: | fr0in | low frequency |
||
real(kind=TIME), | intent(in) | :: | fruin | high frequency |
||
real(kind=TIME), | intent(in) | :: | frsin | if positive set input grid values, though fru>=frs is forced; otherwise they are calculated within routine. |
new spec structure spec.NFR, spec.FR0 and spec.FRS where NFR is calculated as (FRU-FR0)/FRS+1