Index
ACGuiACGui.acg_cleanACGui.acg_layout!ACGui.acg_runACGui.callbacks_in_about_tabACGui.callbacks_in_data_tabACGui.callbacks_in_general_tabACGui.callbacks_in_run_tabACGui.callbacks_in_solver_tabACGui.layout_about_blockACGui.layout_barrat_blockACGui.layout_base_blockACGui.layout_calc_blockACGui.layout_data_blockACGui.layout_header_blockACGui.layout_maxent_blockACGui.layout_nevanac_blockACGui.layout_stochac_blockACGui.layout_stochom_blockACGui.layout_stochpx_blockACGui.layout_stochsk_blockACGui.parse_parametersACGui.register_callback
Modules
ACGui — ModuleACGuiACGui is a simple web app for the ACFlow toolkit. It depends on the Dash web framework, and provide an useful ui to facilite analytic continuation calculations. Now ACGui supports seven analytic continuation solvers:
- Maximum Entropy Method (
MaxEntsolver,recommended) - Barycentric Rational Function Method (
BarRatsolver,recommended) - Nevanlinna Analytical Continuation (
NevanACsolver) - Stochastic Analytic Continuation (
StochACsolver, Beach's algorithm) - Stochastic Analytic Continuation (
StochSKsolver, Sandvik's algorithm) - Stochastic Optimization Method (
StochOMsolver) - Stochastic Pole eXpansion (
StochPXsolver,recommended)
The MaxEnt, BarRat, and NevanAC solvers are extremely fast, so users can obtain the calculated results quickly. However, other stochastic solvers are quite slow (they could spend a few hours solving analytic continuation problems). It is not a good idea to perform calculations with them through ACGui. In such cases, users can download the relevant ac.toml files from this app, and then submit their tasks manually.
Layouts
ACGui.acg_layout! — Functionacg_layout!(app::Dash.DashApp)Global layout for the ACGui app. There are five tabs, namely Data, General, Solver, Run, and About.
ACGui.layout_header_block — Functionlayout_header_block()Layout for the header part.
ACGui.layout_data_block — Functionlayout_data_block()Layout for the data tab. Users can upload imaginary-time or Matsubara Green's functions via this tab.
ACGui.layout_base_block — Functionlayout_base_block()Layout for the general tab. Users should configure the basic parameters for analytic continuation calculations in this tab.
ACGui.layout_maxent_block — Functionlayout_maxent_block()Layout for the solver tab. It is the panel for the MaxEnt solver. Note that this panel can be hidden, if solver in general tab is not equal to MaxEnt.
ACGui.layout_barrat_block — Functionlayout_barrat_block()Layout for the solver tab. It is the panel for the BarRat solver. Note that this panel can be hidden, if solver in general tab is not equal to BarRat.
ACGui.layout_nevanac_block — Functionlayout_nevanac_block()Layout for the solver tab. It is the panel for the NevanAC solver. Note that this panel can be hidden, if solver in general tab is not equal to NevanAC.
ACGui.layout_stochac_block — Functionlayout_stochac_block()Layout for the solver tab. It is the panel for the StochAC solver. Note that this panel can be hidden, if solver in general tab is not equal to StochAC.
ACGui.layout_stochsk_block — Functionlayout_stochsk_block()Layout for the solver tab. It is the panel for the StochSK solver. Note that this panel can be hidden, if solver in general tab is not equal to StochSK.
ACGui.layout_stochom_block — Functionlayout_stochom_block()Layout for the solver tab. It is the panel for the StochOM solver. Note that this panel can be hidden, if solver in general tab is not equal to StochOM.
ACGui.layout_stochpx_block — Functionlayout_stochpx_block()Layout for the solver tab. It is the panel for the StochPX solver. Note that this panel can be hidden, if solver in general tab is not equal to StochPX.
ACGui.layout_calc_block — Functionlayout_calc_block()Layout for the run tab. The users can start analytic continuation simulations and visualize the calculated results via this tab.
ACGui.layout_about_block — Functionlayout_about_block()Layout for the about tab. It is used to display the version number and author of ACGui.
Callbacks
ACGui.register_callback — Functionregister_callback(app::Dash.DashApp)Register all callbacks for the ACGui app.
ACGui.parse_parameters — Functionparse_parameters(
pbase::String,
pmaxent::String,
pbarrat::String,
pnevanac::String,
pstochac::String,
pstochsk::String,
pstochom::String,
pstochpx::String
)Convert parameters to dictionary.
ACGui.callbacks_in_data_tab — Functioncallbacks_in_data_tab(app::Dash.DashApp)Callbacks for the data tab. It only includes a callback, which is used to upload files from client side to server side.
ACGui.callbacks_in_general_tab — Functioncallbacks_in_general_tab(app::Dash.DashApp)Callbacks for the general tab. It includes two callbacks. One is used to control the solver tab. The other is used to gather parameters from this tab, and then update dict-base in run tab.
ACGui.callbacks_in_solver_tab — Functioncallbacks_in_solver_tab(app::Dash.DashApp)Callbacks for the solver tab. It includes seven callbacks. All of them are used to collect parameters that are relevant to analytic continuation solvers.
ACGui.callbacks_in_run_tab — Functioncallbacks_in_run_tab(app::Dash.DashApp)Callbacks for the run tab. It contains three callbacks. The first one is for the Start Analytic Continuation button. The second one is for the Get ac.toml only button. The third one is for the Check err.out button.
ACGui.callbacks_in_about_tab — Functioncallbacks_in_about_tab(app::Dash.DashApp)Callbacks for the about tab. Now it is empty.
Core
ACGui.acg_clean — Functionacg_clean()This function will clean the current directory. It will remove all the files in the folder. So, please make sure that you are running the app in a safe directory.
ACGui.acg_run — Functionacg_run()It is the main entry of the ACGui app. It will create a web ui, register some callbacks, and start the web server. By default, the web server will provide services at http://127.0.0.1:8848.