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.0 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.0

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.0
File Size Uploaded
pymodaq_femto-5.2.0.tar.gz 474.0 kB Details

Built distribution (wheel)

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

Total release size: 949.7 kB

Release files / pymodaq_femto-5.2.0.tar.gz

Download URL pymodaq_femto-5.2.0.tar.gz
Size 474.0 kB
Tags Source
SHA-256 checksum
How to use checksums
47df06de48d5bc994c0eb52675d989f3c7cd3e3c730bbdfe159de78eff1b1bad
BLAKE2b-256 checksum
How to use checksums
e961e9057b4e9e4e53b6d2184003b1500ac8a969ece626f54623d32dacc15757
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.0-py3-none-any.whl

Download URL pymodaq_femto-5.2.0-py3-none-any.whl
Size 475.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
490e4dc8cd8349d83d718e70c91271f95e14646292e6ca8885807bdd18eabb55
BLAKE2b-256 checksum
How to use checksums
7e4d9cf4aa7fb5aedc041a0b721b9d7ef787af0469baa4c998b2c9d126061955
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

5.2.1

2 release files

This release

5.2.0 This release

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