Skip to main content

PyMoDAQ Femto

PyMoDAQ extension for femtosecond laser pulse characterization (FROG, d-scan, …). It provides two applications:

  • the Simulator, to generate characterization traces from simulated pulses,

  • the Retriever, to retrieve the pulse (spectral amplitude and phase) from an experimental or simulated trace, and propagate it through materials.

Documentation can be found here: https://pymodaq-femto.readthedocs.io/en/latest/index.html

Compatibility

PyMoDAQ Femto 5.2.1 is compatible with PyMoDAQ 5.2. It only relies on three PyMoDAQ sub-packages, pinned to the versions it has been tested with (see Dependencies below): the full pymodaq package is not needed to use PyMoDAQ Femto on its own.

PyMoDAQ Femto 5.1.0 is compatible with PyMoDAQ 5.1 only: it does not work with PyMoDAQ 5.2 or later.

Versions of PyMoDAQ Femto compatible with PyMoDAQ 3 or 4 are archived in the other branches of this repository (legacy_v3 and v4).

Installation

PyMoDAQ Femto requires Python 3.10 or later (tested with Python 3.14). We advise to install it in a dedicated conda environment:

conda create -n pymodaq_femto python=3.14
conda activate pymodaq_femto
pip install pymodaq_femto

For development, clone the repository and install it in editable mode:

git clone https://github.com/PyMoDAQ/pymodaq_femto.git
cd pymodaq_femto
pip install -e .

Dependencies

These are installed automatically by pip:

Package

Version

Used for

pymodaq_utils

5.2.7

configuration, logging, math and unit utilities

pymodaq_data

5.2.10

data objects (DataWithAxes) and HDF5 files (through h5py)

pymodaq_gui

5.2.9

data viewers, parameter trees and HDF5 browser

pypret_pymodaq

any

pulse retrieval algorithms (fork of pypret)

numpy, scipy

any

numerical computations

matplotlib

any

result plots

PyQt5

any

graphical user interface

pymodaq (optional)

5.2.11

running the Retriever from the PyMoDAQ dashboard (dashboard extra)

The PyMoDAQ packages are pinned to exact versions because new PyMoDAQ releases have previously broken PyMoDAQ Femto. They will be updated once newer versions have been tested.

Launching PyMoDAQ Femto

Once installed, start either application from your activated environment:

retriever
simulator

or equivalently python -m pymodaq_femto.retriever and python -m pymodaq_femto.simulator.

Usage with data external to PyMoDAQ

In the /utils/ folder, you will find an example script showing how any data (here saved as numpy arrays) can be easily converted into a properly formatted .h5 file, and used in PyMoDAQ Femto.

License

Published under the MIT license (see the LICENSE file).

GitHub repo: https://github.com/PyMoDAQ/pymodaq_femto

Metadata

Release files for pymodaq-femto 5.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pymodaq-femto 5.2.1
File Size Uploaded
pymodaq_femto-5.2.1.tar.gz 474.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pymodaq-femto 5.2.1
File Interpreter ABI Platform
pymodaq_femto-5.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 949.8 kB

Release files / pymodaq_femto-5.2.1.tar.gz

Download URL pymodaq_femto-5.2.1.tar.gz
Size 474.1 kB
Tags Source
SHA-256 checksum
How to use checksums
41f099b80a1cd3deec7d77b4835800fdcbb15f8f34fd3a31aa67ec59a7ec4657
BLAKE2b-256 checksum
How to use checksums
e3da0c6970f645dba2bb46497f694548dc725278546bfb44ad6f6cb39c8b25c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / pymodaq_femto-5.2.1-py3-none-any.whl

Download URL pymodaq_femto-5.2.1-py3-none-any.whl
Size 475.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
def59b8012fbc6311f2017e718cd8bc511d79fa8576ee5faab18325b794a0e7d
BLAKE2b-256 checksum
How to use checksums
1a4d4626279478a3ca820efa132058950163c46bcce2ff86766e10b3589e8e15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

This release

5.2.1 This release

2 release files

5.2.0

2 release files

5.1.0

2 release files

3.1.1

2 release files

3.1.0

2 release files

3.0.0

2 release files

2.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page