fluidsim.base.output.increments
Increments
Provides:
- class fluidsim.base.output.increments.Increments(output)[source]
Bases:
SpecificOutput
Handles the saving of pdf of increments.
- _tag = 'increments'
- _name_file = 'increments.h5'
- static _complete_params_with_default(params)[source]
- _init_online_plot()[source]
- _online_plot_saving(dict_results, key='rot')[source]
online plot on pdf
- compute()[source]
compute the values at one time.
- compute_values_inc(valmin, valmax)[source]
- load()[source]
load the saved pdf and return a dictionary.
- plot(tmin=0, tmax=None, delta_t=2, order=2, yscale='log')[source]
Plot some structure functions.
- strfunc_from_pdf(pdf, values, order, absolute=False)[source]
Following the identity:
\[E(x^m) = \int_{-\inf}^{\inf} x^m p(x) dx\]In this case, replace x with increments,
\[\delta u(r, x) = u(x+r) - u(x)\]Thus, for a every value of r the mean of increments are computed as follows:
\[<(\delta u)^m> = \int_{-\inf}^{\inf} (\delta u)^m p(\delta u) d(\delta u) = d(\delta u) \Sigma (\delta u)^m p(\delta u)\]
- load_pdf_from_file(tmin=0, tmax=None, key_var='ux', irx_to_plot=None)[source]
Plot some pdf.
- plot_pdf(tmin=0, tmax=None, key_var='ux', order=0, nb_rx_to_plot=5)[source]
Functions
|
Compute structure function of specified order from pdf |
Classes
|
Handles the saving of pdf of increments. |