PlotGen#
-Functions
-
|
-Generates plots from a fit result file. |
-
diff --git a/_autosummary/PlotGen.html b/_autosummary/PlotGen.html deleted file mode 100644 index 50bd78f..0000000 --- a/_autosummary/PlotGen.html +++ /dev/null @@ -1,465 +0,0 @@ - - - - - - - -
- - - -Functions
-
|
-Generates plots from a fit result file. |
-
Functions
-
|
-Draw booked histograms from RDataFrame |
-
Functions
-
|
-Regex merge is a useful tool to merge amplitudes that are related to each other (user-specified) For example waveset: D-2- D-1- D0- D1- D2- D-2+ D-1+ D0+ D1+ D2+ To remove the sign at the end (merge reflectivites) use = r'[-+]$' To remove first sign and number (merge M-projections) use = r'[-+]?(d+)' To remove numbers and signs to merge all D: use = r'[-+]?(d+)[-+]' |
-
Functions
-
|
-Performs a single fit |
-
|
-Performs N randomized fits, if N=0 then a single fit with no randomization is performed |
-
Functions
-
|
-Definition of the (Log) Posterior distribution |
-
|
-Creates a mixture of moves for the emcee sampler |
-
|
-Draws a corner plot to visualize sampling and parameter correlations |
-
|
-Performs MCMC sampling |
-
Classes
-
|
-Modified objective function (Class) for Optuna that takes an initialization list |
-
Performs a single fit
+fitManager – MinuitMinimizationManager
seed_file_tag – Tag to append to output file names
Bool indicating if fit failed +NLL: Negative log likelihood
+bFitFailed
+Performs N randomized fits, if N=0 then a single fit with no randomization is performed
+N – Number of randomized fits to perform
+Minimum negative log likelihood
+minNLL
+Definition of the (Log) Posterior distribution
+par_values – Flattened (complex-to-Real/Imag) Parameter values. ~ [real1, imag1, real2, imag2, …]
keys – Flattened Parameter names. ~ [amp1, amp1, amp2, amp2, …]
ati – AmpToolsInterface
LoadParametersSampler – LoadParameters class to manage parameters
Log posterior probability
+log_prob
+Creates a mixture of moves for the emcee sampler
+moves_dict – { move: {kwargs: {}, probability} }
+[ (emcee.moves.{move}(kwargs), probability) ]
+moves_mixture
+Performs MCMC sampling
+ati – AmpToolsInterface class
LoadParametersSampler – LoadParameters class
ofolder – output folder name
ofile – output file name
nwalkers – number of walkers
burnIn – number of burn-in steps
nsamples – number of samples
params_dict – ~ {par: value} or {par: [value, min, max]} Sample from [min, max] for walker initialization
moves_mixture – Move mixture for sampler
Dictionary containing results of MCMC sampling (samples, MAP, acceptance fraction, autocorrelation time, etc.)
+results
+Draws a corner plot to visualize sampling and parameter correlations
+results – Dictionary containing results of MCMC sampling (samples, MAP, acceptance fraction, autocorrelation time, etc.)
ofolder – output folder name
save – Save the figure to a file or return figure. Default True = Save
Figure object (or None)
+fig
+Generates plots from a fit result file. The plots are saved to a root file.
+plotGen – Sub-classed PlotGenerator instance.
plotfile – name of output root file.
ampString – Semicolon separated list of coherent sums to plot. Sums are underscore separated amplitudes. Empty string will plot sum of all waves.
keepAllAmps – If True, all amplitudes are summed and plotted. If False, only the amplitudes specified in ampString will be plotted.
plotAllVars – If True, all variables will be plotted.
plotGenHists – If True, generated histograms will be plotted.
doAccCorr – If True, acceptance correction will be applied to the histograms.
None
+Draw booked histograms from RDataFrame
+results (FitResults) – FitResults object
hist_output_name (str) – Output file name, do not include file type
particles (List[str]) – List of particles in reaction
HISTS_TO_BOOK (Dict[str, List]) – Dictionary of histograms to book. See book_histogram() for details
None
+- e | ||
- |
- extract_ff | - |
- f | ||
- |
- fit | - |
- m | ||
- |
- mcmc | - |
- |
- mcmcOptimalMoves | - |
- p | ||
- |
- PlotGen | - |
- |
- PlotGenRDF | - |