Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ out_*/
*.egg-info/
benchmark/results/
docs/source/benchmarks/
examples/design_dummy.py
examples/design_tutorial*.json
28 changes: 14 additions & 14 deletions benchmark/reference/quick/grebing2020_1mJ.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"benchmark": "grebing2020_1mJ",
"thunder4d": "1.0.0",
"git": "ae152b3",
"date": "2026-11-05T11:09:52",
"thunder4d": "1.1.0",
"git": "c5f8e5a",
"date": "2026-11-06T15:19:37",
"grid_shape": [
18,
18,
Expand All @@ -13,17 +13,17 @@
"w0_um": 153.40901552594843,
"w_mirror_um": 1272.7164478148406,
"P_over_Pc": 0.19358520813937333,
"transmission": 0.9984890827481563,
"B_rad": 2.6182913538676242,
"I_peak_max_Wcm2": 13564943816825.242,
"F_mirror_max_Jcm2": 0.04611659285177759,
"eta00_final": 0.99857818085014,
"M2x": 1.0008810336264224,
"M2y": 1.000881035257842,
"transmission": 0.9984852622227657,
"B_rad": 2.6213866805657875,
"I_peak_max_Wcm2": 12628944170988.34,
"F_mirror_max_Jcm2": 0.04138964380838112,
"eta00_final": 0.9985899575198014,
"M2x": 1.0008772364388645,
"M2y": 1.0008772492477016,
"span20_nm": 29.6103451943153,
"rms_width_nm": 4.975420214205481,
"lambda_centroid_nm": 1029.962605377199,
"ftl_fs": 113.36244702095692,
"V_weighted_x": 0.9999804044900923
"rms_width_nm": 4.977460497390844,
"lambda_centroid_nm": 1029.9625655024608,
"ftl_fs": 113.2476173285012,
"V_weighted_x": 0.9999851172695321
}
}
29 changes: 0 additions & 29 deletions benchmark/reference/quick/kaumanns2018_18mJ (2).json

This file was deleted.

30 changes: 15 additions & 15 deletions benchmark/reference/quick/kaumanns2018_18mJ.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
{
"benchmark": "kaumanns2018_18mJ",
"thunder4d": "1.0.0",
"git": "ae152b3",
"date": "2026-11-05T11:09:54",
"thunder4d": "1.1.0",
"git": "c5f8e5a",
"date": "2026-11-06T15:19:40",
"grid_shape": [
18,
18,
288
],
"nsteps": 258,
"nsteps": 259,
"metrics": {
"w0_um": 183.06264064367963,
"w_mirror_um": 2679.7626653747907,
"P_over_Pc": 0.3234288698767839,
"transmission": 0.9960570029390465,
"B_rad": 5.1481957470697095,
"I_peak_max_Wcm2": 18103354154129.82,
"F_mirror_max_Jcm2": 0.1490711104166644,
"eta00_final": 0.9987547844471082,
"M2x": 1.0006195734533092,
"M2y": 1.0006195572492391,
"transmission": 0.9960403230223649,
"B_rad": 5.151783013453463,
"I_peak_max_Wcm2": 17287647093325.824,
"F_mirror_max_Jcm2": 0.11557953749999825,
"eta00_final": 0.9987514615223066,
"M2x": 1.000620586538457,
"M2y": 1.000620593883091,
"span20_nm": 6.196010635445191,
"rms_width_nm": 1.2110305702579292,
"lambda_centroid_nm": 1029.9974089516218,
"ftl_fs": 521.034332252264,
"V_weighted_x": 0.9999675792377117
"rms_width_nm": 1.2116784601737582,
"lambda_centroid_nm": 1029.9974062178615,
"ftl_fs": 520.8288651931136,
"V_weighted_x": 0.9999554540863992
}
}
29 changes: 0 additions & 29 deletions benchmark/reference/quick/rueda2021_8fs (2).json

This file was deleted.

30 changes: 15 additions & 15 deletions benchmark/reference/quick/rueda2021_8fs.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
{
"benchmark": "rueda2021_8fs",
"thunder4d": "1.0.0",
"git": "ae152b3",
"date": "2026-11-05T11:09:57",
"thunder4d": "1.1.0",
"git": "c5f8e5a",
"date": "2026-11-06T15:19:45",
"grid_shape": [
27,
27,
180
],
"nsteps": 465,
"nsteps": 481,
"metrics": {
"w0_um": 110.223199165149,
"w_mirror_um": 674.9764894294493,
"P_over_Pc": 0.4899515634033041,
"transmission": 0.9407862609950346,
"B_rad": 9.248095412017669,
"transmission": 0.9407846495705723,
"B_rad": 9.570966683039574,
"I_peak_max_Wcm2": 16993099954153.062,
"F_mirror_max_Jcm2": 0.0339951510416667,
"eta00_final": 0.9853640750607339,
"M2x": 1.0053943879514513,
"M2y": 1.0053943976381428,
"span20_nm": 164.28257863522424,
"rms_width_nm": 29.83851381083898,
"lambda_centroid_nm": 787.8601602843365,
"ftl_fs": 12.864273787647162,
"V_weighted_x": 0.9994170692022799
"F_mirror_max_Jcm2": 0.024502731770833355,
"eta00_final": 0.9848041843155745,
"M2x": 1.0061270402712057,
"M2y": 1.0061270565369813,
"span20_nm": 174.48016991423185,
"rms_width_nm": 31.01962727072359,
"lambda_centroid_nm": 787.6801052573918,
"ftl_fs": 12.250787061390039,
"V_weighted_x": 0.9994088286341474
}
}
Binary file added docs/source/_static/figures/design_map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions docs/source/api_reference/api_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ Everything useful is available at package level:
m.spectrum_from_temporal_field, m.add_spectral_phase, m.zernike_wavefront
m.MPC, m.UPPESolver, m.MPCSimulation
m.LensFrameSimulation, m.LensFrameSolver, m.suggest_lens_grid, m.imaged_near_field_lens, m.lens_frame_scale
m.default_input, m.load_input, m.save_input, m.build_simulation, m.run_input

The design helper is a sub-package: ``from thunder4d.design import ...``.

.. list-table::
:header-rows: 1
Expand All @@ -38,6 +41,10 @@ Everything useful is available at package level:
- beam-following (lens-frame) solver, grid and injection (recommended)
* - :doc:`diagnostics`
- spectrograms, profiles, modal content, homogeneity, M², compression
* - :doc:`inputfile`
- standard input file (JSON): load, check, save, build and run
* - :doc:`design`
- design helper: problem description, search, quick solvers, maps, export and 4D validation

.. toctree::
:maxdepth: 2
Expand All @@ -50,3 +57,5 @@ Everything useful is available at package level:
simulation
lensframe
diagnostics
inputfile
design
2 changes: 1 addition & 1 deletion docs/source/api_reference/cell.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ eigenmode and the nonlinear mode matching.
:param float R: mirror radius of curvature [m]
:param float d: mirror separation [m], :math:`0 < d < 2R`
:param medium: :class:`~thunder4d.materials.Material`
:param int n_passes: passes = bounces (centre → mirror → centre)
:param int n_passes: passes = bounces (transit over d + bounce, starting right after a mirror)
:param float mirror_gdd_fs2: GDD per bounce [fs²]
:param float mirror_tod_fs3: TOD per bounce [fs³]
:param mirror_reflectivity: intensity reflectivity, scalar or callable
Expand Down
Loading
Loading