Repository navigation
SFEXIS v1.0.0 recognizes the established code and its extensive testing by Federico Vismarra. The earlier v0.1.0 tag is retained as a historical packaging snapshot. This major release does not change the numerical implementation.
SFEXIS (Strong Field Electron XUV Interaction Simulator) is Federico Vismarra's MATLAB code for attosecond XUV/IR photoemission in the strong-field approximation, including streaking, RABBITT pulse trains and field-free controls.
Start here
Download the complete source archive below or clone this repository. Open SFEXIS.m in MATLAB and press Run. Keep the bundled helpers and legacy data together. Each example contains the complete original-style calculation with only its settings changed.
Quick start · Physics and implementation · Environment · Complete release notes
Included in this release
- Original MATLAB section order, parameter names, field generators, velocity scan, reverse cumulative action and rectangular summation.
- Complete pulse-train, isolated-pulse streaking and field-free example scripts. Coarser editable sampling makes the first run quick.
- Small memory/speed improvements: remove an unused large tensor and reuse the common IR phase. Explicit fixes address delay labels/wraparound, paths, window diagnostics, zero-field plotting and two helper/initialization issues.
- MAT, FIG and PNG outputs with settings, fields, complex amplitudes, runtime and citation, saved in unique folders.
- A separate ai_companion/ function-based implementation for automation and numerical controls. Its field definitions and quadrature differ from the original scripts.
- All 18 original files and imported source history preserved, plus documentation, tests, citation metadata, CodeMeta, an AI-readable documentation index and contribution guidance.
Licensing and attribution
Federico selected BSD-3-Clause for the identified project-owned code and documentation. This is a mixed-license bundle: it is not a blanket BSD grant over all imported material. Read LICENSING.md and THIRD_PARTY_NOTICES.md before redistributing the whole bundle.
The exact Nathan Childress bluewhitered source and its BSD-2-Clause notice were recovered. The plotPsi helper retains its MathWorks license, including the MathWorks-products-only restriction. Some joint-helper and original-asset permissions remain unresolved and are excluded from the project grant. All original source bytes are preserved.
Retain copyright/license notices and please credit Federico Vismarra and cite:
F. Vismarra, R. Borrego-Varillas, Y. Wu, D. Mocci, M. Nisoli and M. Lucchini, “Ensemble effects on the reconstruction of attosecond pulses and photoemission time delays,” Journal of Physics: Photonics 4, 034006 (2022). https://doi.org/10.1088/2515-7647/ac7991
Also record this software tag and commit. The DOI identifies the paper, not this software release. Scholarly citation is requested separately from the BSD license conditions.
Validation and requirements
The numerical implementation passed 16 tests, 0 failed, 0 incomplete, on Windows MATLAB R2023b Update 5 and Ubuntu 22.04 MATLAB R2023b Update 11. All four full scripts ran. Phase-reuse errors against the original dense formula were at most 3.49e-15; field-free delay variation was 9.39e-13. All archive hashes and example/helper checks passed. The v1.0.0 version update changes release metadata and documentation only; MATLAB calculations are unchanged.
The release-specific GitHub workflow also passed all 16 MATLAB tests, archive/example checks and CFF validation.
Release workflow · Detailed numerical validation
Base MATLAB runs the isolated-pulse/field-free scripts and the companion. Original pulse-train examples require Signal Processing Toolbox; optional smoothing branches require Curve Fitting Toolbox. GNU Octave has not been tested.
Scientific limits
This is a research forward simulator. The full ensemble averaging, ePIE and inverse pulse/photoemission-delay retrieval from the paper are not included. Optional dipoles, dispersion and the even-train branch are not covered by the automated checks recorded for this distribution. Atomic-table source/phase conventions and sampling for other regimes need separate checks. Numerical consistency does not establish quantitative atomic accuracy.
The historical ALPHA 1.0 banner in the preserved script is independent of this standalone release numbering. Search metadata and llms.txt make the project easier to interpret; they cannot guarantee indexing or citation by every search engine or AI system.
Release commit: 8604999.