pymultifracs.mfa.mf_analysis#

pymultifracs.mfa.mf_analysis(mrq, scaling_ranges, weighted=None, n_cumul=2, q=None, bootstrap_weighted=None, R=1, estimates='scm', robust=False, robust_kwargs=None)#

Perform multifractal analysis, given wavelet coefficients.

Parameters:
mrq: :class:`MultiResolutionQuantity` | List[MultiResolutionQuantity]

Multi-resolution quantity to analyze, or list of MRQs.

scaling_ranges: List[Tuple[int]]

List of pairs of (j1, j2) ranges of scales for the analysis

weightedstr | None

Whether the linear regressions will be weighted

n_cumulint

Number of cumulants computed

qndarray, shape (n_exponents,)

List of q values used in the multifractal analysis

bootstrap_weighted: str | None

Whether the boostrapped mrqs will have weighted regressions

R: int

Number of bootstrapped repetitions

estimates: str
Quantities to estimate: string containing a character for each of:
  • “m”: multifractal spectrum

  • “s”: structure function

  • “c”: cumulants

robust: bool

Use robust estimates of cumulants

Returns:
MFractalData

The output of the multifractal analysis, is a list if mrq was passed as an Iterable