From 8f65210ed265c9ceac0791d0839464fea9d7c06c Mon Sep 17 00:00:00 2001 From: lan13005 Date: Thu, 26 Oct 2023 16:14:22 -0400 Subject: [PATCH] Update documentation --- _autosummary/PlotGen.html | 465 ----------------- _autosummary/PlotGenRDF.html | 465 ----------------- _autosummary/extract_ff.html | 465 ----------------- _autosummary/fit.html | 468 ----------------- _autosummary/mcmc.html | 474 ------------------ _autosummary/mcmcOptimalMoves.html | 465 ----------------- _sources/_autosummary/PlotGen.rst | 29 -- _sources/_autosummary/PlotGenRDF.rst | 29 -- _sources/_autosummary/extract_ff.rst | 29 -- _sources/_autosummary/fit.rst | 30 -- _sources/_autosummary/mcmc.rst | 32 -- _sources/_autosummary/mcmcOptimalMoves.rst | 29 -- _sources/api.rst | 26 + .../autosummary/module.rst} | 2 +- api.html | 221 +++++++- genindex.html | 89 ++-- notebooks.html | 2 +- objects.inv | 9 +- py-modindex.html | 447 ----------------- searchindex.js | 2 +- .../autosummary/module.html | 92 ++-- 21 files changed, 328 insertions(+), 3542 deletions(-) delete mode 100644 _autosummary/PlotGen.html delete mode 100644 _autosummary/PlotGenRDF.html delete mode 100644 _autosummary/extract_ff.html delete mode 100644 _autosummary/fit.html delete mode 100644 _autosummary/mcmc.html delete mode 100644 _autosummary/mcmcOptimalMoves.html delete mode 100644 _sources/_autosummary/PlotGen.rst delete mode 100644 _sources/_autosummary/PlotGenRDF.rst delete mode 100644 _sources/_autosummary/extract_ff.rst delete mode 100644 _sources/_autosummary/fit.rst delete mode 100644 _sources/_autosummary/mcmc.rst delete mode 100644 _sources/_autosummary/mcmcOptimalMoves.rst rename _sources/{_autosummary/modules.rst => templates/autosummary/module.rst} (79%) delete mode 100644 py-modindex.html rename _autosummary/modules.html => templates/autosummary/module.html (72%) 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 @@ - - - - - - - - - - - - PlotGen — PyAmpTools - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - -
-
-
-
-
- - - -
-
- - - -
- - - -
- -
-
- -
-
- -
- -
- -
- - -
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
-
- - - -
-

PlotGen

- -
-
- -
-
-
- - - - -
- -
-

PlotGen#

-

Functions

- - - - - - -

PlotGen(plotGen, ofile[, ampString, ...])

Generates plots from a fit result file.

-
- - - - -
- - - - - - -
- -
-
-
- -
- - - - -
-
- - -
- - -
-
-
- - - - - - - - \ No newline at end of file diff --git a/_autosummary/PlotGenRDF.html b/_autosummary/PlotGenRDF.html deleted file mode 100644 index afc22cd..0000000 --- a/_autosummary/PlotGenRDF.html +++ /dev/null @@ -1,465 +0,0 @@ - - - - - - - - - - - - PlotGenRDF — PyAmpTools - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - -
-
-
-
-
- - - -
-
- - - -
- - - -
- -
-
- -
-
- -
- -
- -
- - -
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
-
- - - -
-

PlotGenRDF

- -
-
- -
-
-
- - - - -
- -
-

PlotGenRDF#

-

Functions

- - - - - - -

draw_histograms(results, hist_output_name, ...)

Draw booked histograms from RDataFrame

-
- - - - -
- - - - - - -
- -
-
-
- -
- - - - -
-
- - -
- - -
-
-
- - - - - - - - \ No newline at end of file diff --git a/_autosummary/extract_ff.html b/_autosummary/extract_ff.html deleted file mode 100644 index be8afc1..0000000 --- a/_autosummary/extract_ff.html +++ /dev/null @@ -1,465 +0,0 @@ - - - - - - - - - - - - extract_ff — PyAmpTools - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - -
-
-
-
-
- - - -
-
- - - -
- - - -
- -
-
- -
-
- -
- -
- -
- - -
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
-
- - - -
-

extract_ff

- -
-
- -
-
-
- - - - -
- -
-

extract_ff#

-

Functions

- - - - - - -

extract_ff(results[, outfileName, ...])

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+)[-+]'

-
- - - - -
- - - - - - -
- -
-
-
- -
- - - - -
-
- - -
- - -
-
-
- - - - - - - - \ No newline at end of file diff --git a/_autosummary/fit.html b/_autosummary/fit.html deleted file mode 100644 index 5da45ad..0000000 --- a/_autosummary/fit.html +++ /dev/null @@ -1,468 +0,0 @@ - - - - - - - - - - - - fit — PyAmpTools - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - -
-
-
-
-
- - - -
-
- - - -
- - - -
- -
-
- -
-
- -
- -
- -
- - -
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
-
- - - -
-

fit

- -
-
- -
-
-
- - - - -
- -
-

fit#

-

Functions

- - - - - - - - - -

performFit(fitManager, seed_file_tag[, ...])

Performs a single fit

runFits(ati[, N, always_save_seed])

Performs N randomized fits, if N=0 then a single fit with no randomization is performed

-
- - - - -
- - - - - - -
- -
-
-
- -
- - - - -
-
- - -
- - -
-
-
- - - - - - - - \ No newline at end of file diff --git a/_autosummary/mcmc.html b/_autosummary/mcmc.html deleted file mode 100644 index 55cc46c..0000000 --- a/_autosummary/mcmc.html +++ /dev/null @@ -1,474 +0,0 @@ - - - - - - - - - - - - mcmc — PyAmpTools - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - -
-
-
-
-
- - - -
-
- - - -
- - - -
- -
-
- -
-
- -
- -
- -
- - -
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
-
- - - -
-

mcmc

- -
-
- -
-
-
- - - - -
- -
-

mcmc#

-

Functions

- - - - - - - - - - - - - - - -

LogProb(par_values, keys, ati, ...)

Definition of the (Log) Posterior distribution

createMovesMixtureFromDict(moves_dict)

Creates a mixture of moves for the emcee sampler

draw_corner(results, ofolder[, ...])

Draws a corner plot to visualize sampling and parameter correlations

perform_mcmc(ati, LoadParametersSampler[, ...])

Performs MCMC sampling

-
- - - - -
- - - - - - -
- -
-
-
- -
- - - - -
-
- - -
- - -
-
-
- - - - - - - - \ No newline at end of file diff --git a/_autosummary/mcmcOptimalMoves.html b/_autosummary/mcmcOptimalMoves.html deleted file mode 100644 index fd34991..0000000 --- a/_autosummary/mcmcOptimalMoves.html +++ /dev/null @@ -1,465 +0,0 @@ - - - - - - - - - - - - mcmcOptimalMoves — PyAmpTools - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - -
-
-
-
-
- - - -
-
- - - -
- - - -
- -
-
- -
-
- -
- -
- -
- - -
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
-
- - - -
-

mcmcOptimalMoves

- -
-
- -
-
-
- - - - -
- -
-

mcmcOptimalMoves#

-

Classes

- - - - - - -

Objective(conditions)

Modified objective function (Class) for Optuna that takes an initialization list

-
- - - - -
- - - - - - -
- -
-
-
- -
- - - - -
-
- - -
- - -
-
-
- - - - - - - - \ No newline at end of file diff --git a/_sources/_autosummary/PlotGen.rst b/_sources/_autosummary/PlotGen.rst deleted file mode 100644 index fa211c0..0000000 --- a/_sources/_autosummary/PlotGen.rst +++ /dev/null @@ -1,29 +0,0 @@ -PlotGen -======= - -.. automodule:: PlotGen - - - - - - - - .. rubric:: Functions - - .. autosummary:: - - PlotGen - - - - - - - - - - - - - diff --git a/_sources/_autosummary/PlotGenRDF.rst b/_sources/_autosummary/PlotGenRDF.rst deleted file mode 100644 index e9a8b98..0000000 --- a/_sources/_autosummary/PlotGenRDF.rst +++ /dev/null @@ -1,29 +0,0 @@ -PlotGenRDF -========== - -.. automodule:: PlotGenRDF - - - - - - - - .. rubric:: Functions - - .. autosummary:: - - draw_histograms - - - - - - - - - - - - - diff --git a/_sources/_autosummary/extract_ff.rst b/_sources/_autosummary/extract_ff.rst deleted file mode 100644 index 8a974e2..0000000 --- a/_sources/_autosummary/extract_ff.rst +++ /dev/null @@ -1,29 +0,0 @@ -extract\_ff -=========== - -.. automodule:: extract_ff - - - - - - - - .. rubric:: Functions - - .. autosummary:: - - extract_ff - - - - - - - - - - - - - diff --git a/_sources/_autosummary/fit.rst b/_sources/_autosummary/fit.rst deleted file mode 100644 index dd50d05..0000000 --- a/_sources/_autosummary/fit.rst +++ /dev/null @@ -1,30 +0,0 @@ -fit -=== - -.. automodule:: fit - - - - - - - - .. rubric:: Functions - - .. autosummary:: - - performFit - runFits - - - - - - - - - - - - - diff --git a/_sources/_autosummary/mcmc.rst b/_sources/_autosummary/mcmc.rst deleted file mode 100644 index 54e5071..0000000 --- a/_sources/_autosummary/mcmc.rst +++ /dev/null @@ -1,32 +0,0 @@ -mcmc -==== - -.. automodule:: mcmc - - - - - - - - .. rubric:: Functions - - .. autosummary:: - - LogProb - createMovesMixtureFromDict - draw_corner - perform_mcmc - - - - - - - - - - - - - diff --git a/_sources/_autosummary/mcmcOptimalMoves.rst b/_sources/_autosummary/mcmcOptimalMoves.rst deleted file mode 100644 index 1472f02..0000000 --- a/_sources/_autosummary/mcmcOptimalMoves.rst +++ /dev/null @@ -1,29 +0,0 @@ -mcmcOptimalMoves -================ - -.. automodule:: mcmcOptimalMoves - - - - - - - - - - - - .. rubric:: Classes - - .. autosummary:: - - Objective - - - - - - - - - diff --git a/_sources/api.rst b/_sources/api.rst index d7d054e..e8c1b69 100644 --- a/_sources/api.rst +++ b/_sources/api.rst @@ -1,4 +1,30 @@ +.. autosummary:: + :toctree: _autosummary + :template: autosummary/module.rst + Detailed API documentation ========================== +fit +--- +.. autofunction:: fit.performFit +.. autofunction:: fit.runFits + +mcmc +---- +.. autofunction:: mcmc.LogProb +.. autofunction:: mcmc.createMovesMixtureFromDict +.. autofunction:: mcmc.perform_mcmc +.. autofunction:: mcmc.draw_corner + +extract_ff +---------- .. autofunction:: extract_ff.extract_ff + +PlotGen +------- +.. autofunction:: PlotGen.PlotGen + +PlotGenRDF +---------- +.. autofunction:: PlotGenRDF.draw_histograms \ No newline at end of file diff --git a/_sources/_autosummary/modules.rst b/_sources/templates/autosummary/module.rst similarity index 79% rename from _sources/_autosummary/modules.rst rename to _sources/templates/autosummary/module.rst index 7f5c2d8..49741c3 100644 --- a/_sources/_autosummary/modules.rst +++ b/_sources/templates/autosummary/module.rst @@ -3,5 +3,5 @@ .. automodule:: {{ name }} :members: - :inherited-members: + :undoc-members: :show-inheritance: diff --git a/api.html b/api.html index 88c7c08..9d9bd00 100644 --- a/api.html +++ b/api.html @@ -341,7 +341,9 @@ `); - + @@ -357,6 +359,18 @@

Detailed API documentation

+
+

Contents

+
+
@@ -366,8 +380,145 @@

Detailed API documentation

-
+ + + +
+

Detailed API documentation#

+
+

fit#

+
+
+performFit(fitManager, seed_file_tag, always_save_seed: bool = False)#
+

Performs a single fit

+
+
Parameters:
+
    +
  • fitManager – MinuitMinimizationManager

  • +
  • seed_file_tag – Tag to append to output file names

  • +
+
+
Returns:
+

Bool indicating if fit failed +NLL: Negative log likelihood

+
+
Return type:
+

bFitFailed

+
+
+
+ +
+
+runFits(ati, N: int = 0, always_save_seed: bool = False)#
+

Performs N randomized fits, if N=0 then a single fit with no randomization is performed

+
+
Parameters:
+

N – Number of randomized fits to perform

+
+
Returns:
+

Minimum negative log likelihood

+
+
Return type:
+

minNLL

+
+
+
+ +
+
+

mcmc#

+
+
+LogProb(par_values, keys, ati, LoadParametersSampler)#
+

Definition of the (Log) Posterior distribution

+
+
Parameters:
+
    +
  • 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

  • +
+
+
Returns:
+

Log posterior probability

+
+
Return type:
+

log_prob

+
+
+
+ +
+
+createMovesMixtureFromDict(moves_dict)#
+

Creates a mixture of moves for the emcee sampler

+
+
Parameters:
+

moves_dict – { move: {kwargs: {}, probability} }

+
+
Returns:
+

[ (emcee.moves.{move}(kwargs), probability) ]

+
+
Return type:
+

moves_mixture

+
+
+
+ +
+
+perform_mcmc(ati, LoadParametersSampler, ofolder: str = 'mcmc', ofile: str = 'mcmc.h5', nwalkers: int = 32, burnIn: int = 100, nsamples: int = 1000, params_dict={}, moves_mixture=[<emcee.moves.stretch.StretchMove object>])#
+

Performs MCMC sampling

+
+
Parameters:
+
    +
  • 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

  • +
+
+
Returns:
+

Dictionary containing results of MCMC sampling (samples, MAP, acceptance fraction, autocorrelation time, etc.)

+
+
Return type:
+

results

+
+
+
+ +
+
+draw_corner(results, ofolder, corner_ofile='corner.png', save=True, kwargs={})#
+

Draws a corner plot to visualize sampling and parameter correlations

+
+
Parameters:
+
    +
  • 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

  • +
+
+
Returns:
+

Figure object (or None)

+
+
Return type:
+

fig

+
+
+
+ +
+
+

extract_ff#

extract_ff(results, outfileName='', acceptanceCorrect=True, fmt='.5f', regex_merge=None)#
@@ -392,6 +543,54 @@

Detailed API documentation +

PlotGen#

+
+
+PlotGen(plotGen, ofile, ampString='all', keepAllAmps=False, plotAllVars=False, plotGenHists=False, doAccCorr=True)#
+

Generates plots from a fit result file. The plots are saved to a root file.

+
+
Parameters:
+
    +
  • 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.

  • +
+
+
Returns:
+

None

+
+
+
+ +

+
+

PlotGenRDF#

+
+
+draw_histograms(results, hist_output_name, particles, HISTS_TO_BOOK)#
+

Draw booked histograms from RDataFrame

+
+
Parameters:
+
    +
  • 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

  • +
+
+
Returns:
+

None

+
+
+
+ +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - -
-
-
-
-
- - - -
-
- - - -
- - - -
- -
-
- -
-
- -
- -
- -
- - -
- -
- -
- - - - - - - - - - - - - - - - - -
- -
- -
-
- - - -
-

- -
-
- -
-
-
- - - - - - - - - - - -
- -
-
-
- -
- - - - -
-
- - -
- - -
-
-
- - - - - -
-
- - \ No newline at end of file diff --git a/searchindex.js b/searchindex.js index 3d87fac..a87fc7b 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["_autosummary/PlotGen", "_autosummary/PlotGenRDF", "_autosummary/extract_ff", "_autosummary/fit", "_autosummary/mcmc", "_autosummary/mcmcOptimalMoves", "_autosummary/modules", "api", "intro", "markdown", "markdown-notebooks", "notebooks"], "filenames": ["_autosummary/PlotGen.rst", "_autosummary/PlotGenRDF.rst", "_autosummary/extract_ff.rst", "_autosummary/fit.rst", "_autosummary/mcmc.rst", "_autosummary/mcmcOptimalMoves.rst", "_autosummary/modules.rst", "api.rst", "intro.md", "markdown.md", "markdown-notebooks.md", "notebooks.ipynb"], "titles": ["PlotGen", "PlotGenRDF", "extract_ff", "fit", "mcmc", "mcmcOptimalMoves", "<no title>", "Detailed API documentation", "Introduction", "Markdown Files", "Notebooks with MyST Markdown", "Content with notebooks"], "terms": {"function": [0, 1, 2, 3, 4, 9], "class": 5, "name": [6, 7], "underlin": 6, "extract_ff": 7, "result": 7, "outfilenam": 7, "acceptancecorrect": 7, "true": 7, "fmt": 7, "5f": 7, "regex_merg": 7, "none": 7, "regex": 7, "merg": 7, "us": [7, 8, 9, 10], "tool": [7, 9], "amplitud": [7, 8], "ar": [7, 8, 9, 10], "relat": 7, "each": 7, "other": [7, 10], "user": 7, "specifi": 7, "For": [7, 9, 11], "exampl": [7, 9, 11], "waveset": 7, "d": [7, 10], "2": [7, 10], "1": [7, 11], "d0": 7, "d1": 7, "d2": 7, "To": 7, "remov": 7, "sign": [7, 11], "end": [7, 11], "reflectivit": 7, "r": 7, "first": 7, "number": 7, "m": 7, "project": 7, "all": [7, 9, 10], "paramet": 7, "fitresult": 7, "object": 7, "output": [7, 10], "root": 7, "file": [7, 8, 10], "dump": 7, "stdout": 7, "accept": [7, 9], "correct": 7, "valu": 7, "format": 7, "string": 7, "print": [7, 10], "pair": 7, "pattern": 7, "replac": 7, "separ": 7, "return": 7, "quantum": 8, "chromodynam": 8, "low": 8, "energi": 8, "regim": 8, "poorli": 8, "understood": 8, "gluon": 8, "rich": 8, "system": 8, "like": [8, 9, 10], "hybrid": 8, "meson": 8, "predict": [8, 9], "theori": 8, "experiment": 8, "idenfici": 8, "state": [8, 11], "have": [8, 10], "been": 8, "difficult": 8, "The": [8, 9, 10], "light": 8, "spectrum": 8, "contain": 8, "mani": [8, 9, 10], "overlap": 8, "requir": 8, "partial": 8, "wave": 8, "analysi": 8, "disentangl": 8, "amptool": 8, "librari": 8, "written": [8, 9, 10], "c": 8, "facilit": 8, "perform": 8, "unbin": 8, "maximum": 8, "likelihood": 8, "fit": 8, "data": [8, 11], "coher": 8, "sum": 8, "thi": [8, 9, 10, 11], "repositori": 8, "python": 8, "bind": 8, "under": 8, "hood": 8, "pyroot": 8, "which": [8, 10], "cppyi": 8, "These": 8, "hopefulli": 8, "simplifi": 8, "interact": [8, 11], "while": 8, "also": [8, 9, 10, 11], "provid": 8, "access": 8, "ecosystem": [8, 9], "fsroot": 8, "includ": [8, 10, 11], "submodul": 8, "can": [8, 9, 10, 11], "integr": 8, "workflow": 8, "markdown": 8, "content": [8, 9, 10], "notebook": [8, 9], "myst": 8, "detail": [8, 10], "api": 8, "document": [8, 9, 10, 11], "whether": 9, "you": [9, 10, 11], "write": [9, 10], "your": [9, 10, 11], "book": [9, 10, 11], "s": [9, 10, 11], "jupyt": [9, 10, 11], "ipynb": 9, "regular": 9, "md": [9, 10], "ll": 9, "same": 9, "flavor": 9, "call": 9, "simpl": 9, "help": 9, "get": [9, 10], "start": [9, 10], "show": [9, 10], "off": [9, 10], "some": [9, 11], "syntax": 9, "stand": 9, "markedli": 9, "structur": 9, "text": [9, 10], "It": 9, "slight": 9, "variat": 9, "commonmark": 9, "small": 9, "extens": 9, "allow": 9, "sphinx": 9, "about": [9, 10, 11], "see": [9, 10, 11], "overview": 9, "two": [9, 10], "most": 9, "power": 9, "thei": 9, "kind": 9, "markup": 9, "languag": 9, "both": 9, "serv": 9, "similar": 9, "purpos": 9, "one": 9, "line": [9, 10, 11], "wherea": 9, "span": 9, "differ": 9, "input": 9, "do": [9, 11], "those": 9, "depend": 9, "specif": 9, "being": 9, "here": [9, 11], "note": 9, "render": 9, "special": 9, "box": 9, "when": [9, 10], "build": 9, "an": 9, "inlin": 9, "refer": 9, "cite": 9, "store": 9, "bibtex": 9, "follow": [9, 10], "holdgraf_evidence_2014": 9, "hdhpk14": 9, "moreov": 9, "insert": 9, "bibliographi": 9, "page": [9, 10], "must": 9, "properli": 9, "bib": 9, "christoph": 9, "ramsai": 9, "holdgraf": 9, "wendi": 9, "de": 9, "heer": 9, "brian": 9, "n": [9, 11], "paslei": 9, "robert": 9, "t": [9, 11], "knight": 9, "evid": 9, "code": [9, 10], "human": 9, "auditori": 9, "cortex": 9, "In": 9, "intern": 9, "confer": 9, "cognit": 9, "neurosci": 9, "brisban": 9, "australia": 9, "2014": 9, "frontier": 9, "just": 9, "starter": 9, "lot": [9, 11], "jupyterbook": 9, "org": 9, "let": 10, "base": 10, "more": [10, 11], "instruct": 10, "With": 10, "defin": 10, "direct": 10, "so": 10, "4": [10, 11], "built": 10, "ani": 10, "block": 10, "execut": 10, "default": 10, "kernel": 10, "displai": 10, "rest": 10, "jupytext": 10, "convert": 10, "support": 10, "thing": 10, "need": 10, "understand": 10, "how": 10, "should": 10, "inform": [10, 11], "top": 10, "presenc": 10, "That": 10, "If": 10, "treat": 10, "run": 10, "command": 10, "init": 10, "path": 10, "markdownfil": 10, "creat": 11, "mean": 11, "As": 11, "emb": 11, "imag": 11, "html": 11, "etc": 11, "post": 11, "add_": 11, "math": 11, "begin": 11, "align": 11, "mbox": 11, "la_": 11, "tex": 11, "But": 11, "make": 11, "sure": 11, "escap": 11, "dollar": 11, "want": 11, "keep": 11, "work": 11, "well": 11, "check": 11, "out": 11, "guid": 11, "sampl": 11, "matplotlib": 11, "from": 11, "import": 11, "rcparam": 11, "cycler": 11, "pyplot": 11, "plt": 11, "numpi": 11, "np": 11, "ion": 11, "contextlib": 11, "exitstack": 11, "0x7feb345a6940": 11, "fix": 11, "random": 11, "reproduc": 11, "seed": 11, "19680801": 11, "10": 11, "logspac": 11, "0": 11, "100": 11, "randn": 11, "ii": 11, "rang": 11, "arrai": 11, "cmap": 11, "cm": 11, "coolwarm": 11, "ax": 11, "prop_cycl": 11, "color": 11, "linspac": 11, "line2d": 11, "custom_lin": 11, "lw": 11, "5": 11, "fig": 11, "subplot": 11, "figsiz": 11, "plot": 11, "legend": 11, "cold": 11, "medium": 11, "hot": 11, "There": 11}, "objects": {"": [[0, 0, 0, "-", "PlotGen"], [1, 0, 0, "-", "PlotGenRDF"], [2, 0, 0, "-", "extract_ff"], [3, 0, 0, "-", "fit"], [4, 0, 0, "-", "mcmc"], [5, 0, 0, "-", "mcmcOptimalMoves"]], "extract_ff": [[7, 1, 1, "", "extract_ff"]]}, "objtypes": {"0": "py:module", "1": "py:function"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "function", "Python function"]}, "titleterms": {"plotgen": 0, "plotgenrdf": 1, "extract_ff": 2, "fit": 3, "mcmc": 4, "mcmcoptimalmov": 5, "detail": 7, "api": 7, "document": 7, "introduct": 8, "markdown": [9, 10, 11], "file": 9, "what": 9, "myst": [9, 10, 11], "sampl": 9, "role": 9, "direct": 9, "citat": 9, "learn": 9, "more": 9, "notebook": [10, 11], "an": 10, "exampl": 10, "cell": 10, "creat": 10, "quickli": 10, "add": 10, "yaml": 10, "metadata": 10, "content": 11, "code": 11, "block": 11, "output": 11}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 6, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinxcontrib.bibtex": 9, "sphinx": 56}}) \ No newline at end of file +Search.setIndex({"docnames": ["api", "intro", "markdown", "markdown-notebooks", "notebooks", "templates/autosummary/module"], "filenames": ["api.rst", "intro.md", "markdown.md", "markdown-notebooks.md", "notebooks.ipynb", "templates/autosummary/module.rst"], "titles": ["Detailed API documentation", "Introduction", "Markdown Files", "Notebooks with MyST Markdown", "Content with notebooks", "<no title>"], "terms": {"performfit": 0, "fitmanag": 0, "seed_file_tag": 0, "always_save_se": 0, "bool": 0, "fals": 0, "perform": [0, 1], "singl": 0, "paramet": 0, "minuitminimizationmanag": 0, "tag": 0, "append": 0, "output": [0, 3], "file": [0, 1, 3], "name": [0, 5], "return": 0, "indic": 0, "fail": 0, "nll": 0, "neg": 0, "log": 0, "likelihood": [0, 1], "type": 0, "bfitfail": 0, "runfit": 0, "ati": 0, "n": [0, 2, 4], "int": 0, "0": [0, 4], "random": [0, 4], "number": 0, "minimum": 0, "minnll": 0, "logprob": 0, "par_valu": 0, "kei": 0, "loadparameterssampl": 0, "definit": 0, "posterior": 0, "distribut": 0, "flatten": 0, "complex": 0, "real": 0, "imag": [0, 4], "valu": 0, "real1": 0, "imag1": 0, "real2": 0, "imag2": 0, "amp1": 0, "amp2": 0, "amptoolsinterfac": 0, "loadparamet": 0, "class": 0, "manag": 0, "probabl": 0, "log_prob": 0, "createmovesmixturefromdict": 0, "moves_dict": 0, "creat": [0, 4], "mixtur": 0, "move": 0, "emce": 0, "sampler": 0, "kwarg": 0, "moves_mixtur": 0, "perform_mcmc": 0, "ofold": 0, "str": 0, "ofil": 0, "h5": 0, "nwalker": 0, "32": 0, "burnin": 0, "100": [0, 4], "nsampl": 0, "1000": 0, "params_dict": 0, "stretch": 0, "stretchmov": 0, "object": 0, "sampl": [0, 4], "folder": 0, "walker": 0, "burn": 0, "step": 0, "par": 0, "min": 0, "max": 0, "from": [0, 4], "initi": 0, "dictionari": 0, "contain": [0, 1], "result": 0, "map": 0, "accept": [0, 2], "fraction": 0, "autocorrel": 0, "time": 0, "etc": [0, 4], "draw_corn": 0, "corner_ofil": 0, "corner": 0, "png": 0, "save": 0, "true": 0, "draw": 0, "plot": [0, 4], "visual": 0, "correl": 0, "figur": 0, "default": [0, 3], "none": 0, "fig": [0, 4], "outfilenam": 0, "acceptancecorrect": 0, "fmt": 0, "5f": 0, "regex_merg": 0, "regex": 0, "merg": 0, "us": [0, 1, 2, 3], "tool": [0, 2], "amplitud": [0, 1], "ar": [0, 1, 2, 3], "relat": 0, "each": 0, "other": [0, 3], "user": 0, "specifi": 0, "For": [0, 2, 4], "exampl": [0, 2, 4], "waveset": 0, "d": [0, 3], "2": [0, 3], "1": [0, 4], "d0": 0, "d1": 0, "d2": 0, "To": 0, "remov": 0, "sign": [0, 4], "end": [0, 4], "reflectivit": 0, "r": 0, "first": 0, "m": 0, "project": 0, "all": [0, 2, 3], "fitresult": 0, "root": 0, "dump": 0, "stdout": 0, "correct": 0, "format": 0, "string": 0, "print": [0, 3], "pair": 0, "pattern": 0, "replac": 0, "separ": 0, "ampstr": 0, "keepallamp": 0, "plotallvar": 0, "plotgenhist": 0, "doacccorr": 0, "gener": 0, "The": [0, 1, 2, 3], "sub": 0, "plotgener": 0, "instanc": 0, "plotfil": 0, "semicolon": 0, "list": 0, "coher": [0, 1], "sum": [0, 1], "underscor": 0, "empti": 0, "wave": [0, 1], "If": [0, 3], "onli": 0, "variabl": 0, "histogram": 0, "appli": 0, "draw_histogram": 0, "hist_output_nam": 0, "particl": 0, "hists_to_book": 0, "book": [0, 2, 3, 4], "rdatafram": 0, "do": [0, 2, 4], "includ": [0, 1, 3, 4], "reaction": 0, "dict": 0, "see": [0, 2, 3, 4], "book_histogram": 0, "quantum": 1, "chromodynam": 1, "low": 1, "energi": 1, "regim": 1, "poorli": 1, "understood": 1, "gluon": 1, "rich": 1, "system": 1, "like": [1, 2, 3], "hybrid": 1, "meson": 1, "predict": [1, 2], "theori": 1, "experiment": 1, "idenfici": 1, "state": [1, 4], "have": [1, 3], "been": 1, "difficult": 1, "light": 1, "spectrum": 1, "mani": [1, 2, 3], "overlap": 1, "requir": 1, "partial": 1, "analysi": 1, "disentangl": 1, "amptool": 1, "librari": 1, "written": [1, 2, 3], "c": 1, "facilit": 1, "unbin": 1, "maximum": 1, "fit": 1, "data": [1, 4], "thi": [1, 2, 3, 4], "repositori": 1, "python": 1, "bind": 1, "under": 1, "hood": 1, "pyroot": 1, "which": [1, 3], "cppyi": 1, "These": 1, "hopefulli": 1, "simplifi": 1, "interact": [1, 4], "while": 1, "also": [1, 2, 3, 4], "provid": 1, "access": 1, "ecosystem": [1, 2], "fsroot": 1, "submodul": 1, "can": [1, 2, 3, 4], "integr": 1, "workflow": 1, "markdown": 1, "content": [1, 2, 3], "notebook": [1, 2], "myst": 1, "detail": [1, 3], "api": 1, "document": [1, 2, 3, 4], "whether": 2, "you": [2, 3, 4], "write": [2, 3], "your": [2, 3, 4], "s": [2, 3, 4], "jupyt": [2, 3, 4], "ipynb": 2, "regular": 2, "md": [2, 3], "ll": 2, "same": 2, "flavor": 2, "call": 2, "simpl": 2, "help": 2, "get": [2, 3], "start": [2, 3], "show": [2, 3], "off": [2, 3], "some": [2, 4], "syntax": 2, "stand": 2, "markedli": 2, "structur": 2, "text": [2, 3], "It": 2, "slight": 2, "variat": 2, "commonmark": 2, "small": 2, "extens": 2, "allow": 2, "sphinx": 2, "about": [2, 3, 4], "overview": 2, "two": [2, 3], "most": 2, "power": 2, "thei": 2, "kind": 2, "function": 2, "markup": 2, "languag": 2, "both": 2, "serv": 2, "similar": 2, "purpos": 2, "one": 2, "line": [2, 3, 4], "wherea": 2, "span": 2, "differ": 2, "input": 2, "those": 2, "depend": 2, "specif": 2, "being": 2, "here": [2, 4], "note": 2, "render": 2, "special": 2, "box": 2, "when": [2, 3], "build": 2, "an": 2, "inlin": 2, "refer": 2, "cite": 2, "store": 2, "bibtex": 2, "follow": [2, 3], "holdgraf_evidence_2014": 2, "hdhpk14": 2, "moreov": 2, "insert": 2, "bibliographi": 2, "page": [2, 3], "must": 2, "properli": 2, "bib": 2, "christoph": 2, "ramsai": 2, "holdgraf": 2, "wendi": 2, "de": 2, "heer": 2, "brian": 2, "paslei": 2, "robert": 2, "t": [2, 4], "knight": 2, "evid": 2, "code": [2, 3], "human": 2, "auditori": 2, "cortex": 2, "In": 2, "intern": 2, "confer": 2, "cognit": 2, "neurosci": 2, "brisban": 2, "australia": 2, "2014": 2, "frontier": 2, "just": 2, "starter": 2, "lot": [2, 4], "jupyterbook": 2, "org": 2, "let": 3, "base": 3, "more": [3, 4], "instruct": 3, "With": 3, "defin": 3, "direct": 3, "so": 3, "4": [3, 4], "built": 3, "ani": 3, "block": 3, "execut": 3, "kernel": 3, "displai": 3, "rest": 3, "jupytext": 3, "convert": 3, "support": 3, "thing": 3, "need": 3, "understand": 3, "how": 3, "should": 3, "inform": [3, 4], "top": 3, "presenc": 3, "That": 3, "treat": 3, "run": 3, "command": 3, "init": 3, "path": 3, "markdownfil": 3, "mean": 4, "As": 4, "emb": 4, "html": 4, "post": 4, "add_": 4, "math": 4, "begin": 4, "align": 4, "mbox": 4, "la_": 4, "tex": 4, "But": 4, "make": 4, "sure": 4, "escap": 4, "dollar": 4, "want": 4, "keep": 4, "work": 4, "well": 4, "check": 4, "out": 4, "guid": 4, "matplotlib": 4, "import": 4, "rcparam": 4, "cycler": 4, "pyplot": 4, "plt": 4, "numpi": 4, "np": 4, "ion": 4, "contextlib": 4, "exitstack": 4, "0x7fea584bd340": 4, "fix": 4, "reproduc": 4, "seed": 4, "19680801": 4, "10": 4, "logspac": 4, "randn": 4, "ii": 4, "rang": 4, "arrai": 4, "cmap": 4, "cm": 4, "coolwarm": 4, "ax": 4, "prop_cycl": 4, "color": 4, "linspac": 4, "line2d": 4, "custom_lin": 4, "lw": 4, "5": 4, "subplot": 4, "figsiz": 4, "legend": 4, "cold": 4, "medium": 4, "hot": 4, "There": 4, "underlin": 5}, "objects": {"PlotGen": [[0, 0, 1, "", "PlotGen"]], "PlotGenRDF": [[0, 0, 1, "", "draw_histograms"]], "extract_ff": [[0, 0, 1, "", "extract_ff"]], "fit": [[0, 0, 1, "", "performFit"], [0, 0, 1, "", "runFits"]], "mcmc": [[0, 0, 1, "", "LogProb"], [0, 0, 1, "", "createMovesMixtureFromDict"], [0, 0, 1, "", "draw_corner"], [0, 0, 1, "", "perform_mcmc"]]}, "objtypes": {"0": "py:function"}, "objnames": {"0": ["py", "function", "Python function"]}, "titleterms": {"detail": 0, "api": 0, "document": 0, "fit": 0, "mcmc": 0, "extract_ff": 0, "plotgen": 0, "plotgenrdf": 0, "introduct": 1, "markdown": [2, 3, 4], "file": 2, "what": 2, "myst": [2, 3, 4], "sampl": 2, "role": 2, "direct": 2, "citat": 2, "learn": 2, "more": 2, "notebook": [3, 4], "an": 3, "exampl": 3, "cell": 3, "creat": 3, "quickli": 3, "add": 3, "yaml": 3, "metadata": 3, "content": 4, "code": 4, "block": 4, "output": 4}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 6, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinxcontrib.bibtex": 9, "sphinx": 56}}) \ No newline at end of file diff --git a/_autosummary/modules.html b/templates/autosummary/module.html similarity index 72% rename from _autosummary/modules.html rename to templates/autosummary/module.html index d475d57..fdb9cb9 100644 --- a/_autosummary/modules.html +++ b/templates/autosummary/module.html @@ -19,52 +19,52 @@ - - - + + + - - - - + + + + - - - - - - - + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - + - + - - - - + + + + @@ -101,7 +101,7 @@
@@ -160,16 +160,16 @@ @@ -241,7 +241,7 @@ -
  • Contents }, kernelOptions: { name: "python3", - path: "./_autosummary" + path: "./templates/autosummary" }, predefinedOutput: true } @@ -471,8 +471,8 @@

    Contents

    - - + +