- 04 Jan, 2023 1 commit
-
-
Wuttke, Joachim authored
-
- 19 Dec, 2022 1 commit
-
-
Wuttke, Joachim authored
-
- 24 May, 2022 1 commit
-
-
Wuttke, Joachim authored
-
- 21 May, 2022 1 commit
-
-
Wuttke, Joachim authored
-
- 13 May, 2022 1 commit
-
-
Wuttke, Joachim authored
-
- 10 May, 2022 1 commit
-
-
Wuttke, Joachim authored
-
- 24 Apr, 2022 1 commit
-
-
Wuttke, Joachim authored
-
- 13 Apr, 2022 2 commits
-
-
Wuttke, Joachim authored
-
Wuttke, Joachim authored
def user_edit(fn, t): t = re.sub(r'def get_simulation\(sample\):', 'def get_simulation(sample, **simargs):', t) N = 0 xx = r'\n((\s+?)\w+ = ba\.\w+?Detector)\((\d+), (.+?, .+?), \d+, (.+?, .+?)\)' m = re.search(xx, t) if m: N = int(m.group(3)) t = re.sub(xx, r"\n\2n = simargs['n']\n\1(n, \4, n, \5)", t) xx = r'(\w+ = ba\.\w+?Detector)\((\d+), (.+?, .+?, .+?)\)' m = re.search(xx, t) if m: N = int(m.group(2)) t = re.sub(xx, r"\1(simargs['n'], \3)", t) xx = r"(if __name__ == '__main__':\n)((.*?\n)+?)(\s+\w+ = get_simulation\(\w+)\)\n((.*?\n)*?)\s+bp\.plot_simulation_result\(simulation\.simulate\(\)\)" t = re.sub(xx, r"\1" + " plotargs, simargs = bp.kwargs_from_cmdline(sim_n=" + str(N) + ")\n" + r"\2" + r"\4, **simargs)\n" r"\5" + " result = simulation.simulate()\n" + " bp.plot_simulation_result(result, **plotargs)", t) return t
-
- 08 Apr, 2022 1 commit
-
-
Wuttke, Joachim authored
-
- 26 Feb, 2022 1 commit
-
-
Wuttke, Joachim authored
-
- 25 Aug, 2021 1 commit
-
-
Wuttke, Joachim authored
-
- 19 Apr, 2021 2 commits
-
-
Wuttke, Joachim authored
-
Wuttke, Joachim authored
-
- 14 Mar, 2021 1 commit
-
-
Wuttke, Joachim authored
-
- 07 Mar, 2021 2 commits
-
-
Wuttke, Joachim authored
-
Wuttke, Joachim authored
-
- 05 Mar, 2021 1 commit
-
-
Wuttke, Joachim authored
-
- 14 Dec, 2020 1 commit
-
-
Wuttke, Joachim authored
Examples moved up from Examples/Python/* to Examples/
-
- 07 Dec, 2020 1 commit
-
-
Wuttke, Joachim authored
-
- 28 Nov, 2020 1 commit
-
-
Wuttke, Joachim authored
-
- 19 Nov, 2020 4 commits
-
-
Wuttke, Joachim authored
-
Wuttke, Joachim authored
-
Wuttke, Joachim authored
-
Wuttke, Joachim authored
python/
-
- 27 Sep, 2020 1 commit
-
-
Wuttke, Joachim authored
-
- 15 Jul, 2020 1 commit
-
-
Wuttke, Joachim authored
-
- 30 Nov, 2018 1 commit
-
-
Pospelov, Gennady authored
-
- 19 Nov, 2018 3 commits
-
-
Pospelov, Gennady authored
-
Pospelov, Gennady authored
-
Pospelov, Gennady authored
-
- 23 Jul, 2018 2 commits
-
-
Pospelov, Gennady authored
-
Pospelov, Gennady authored
-
- 18 Dec, 2017 2 commits
-
-
Pospelov, Gennady authored
-
Pospelov, Gennady authored
-
- 29 Mar, 2017 1 commit
-
-
Van Herck, Walter authored
-
- 19 Jan, 2017 1 commit
-
-
Pospelov, Gennady authored
-
- 22 Sep, 2016 1 commit
-
-
Pospelov, Gennady authored
-
- 25 Aug, 2016 1 commit
-
-
Van Herck, Walter authored
-
- 17 Aug, 2016 1 commit
-
-
Wuttke, Joachim authored
-