:orphan: Examples ======== These runnable examples demonstrate the core workflows of massphoto, organised from fundamental single-molecule analysis to diagnostics and pipeline customisation: * **Core analysis (1-3)**: Contrast-to-mass calibration, mass distribution fitting, and event landing rate over time. * **Diagnostics & quality control (4-6)**: Stage drift compensation, noise floor evaluation with averaging windows, and movie properties over time. * **Pipeline & extensibility (7-9)**: Step-by-step walk-through, custom candidate detection, and reproducible analysis records with replay. .. admonition:: Benchmark Datasets & Best Practice Protocol The sample data used across these examples originates from the benchmark mass photometry recordings archived on `Zenodo (10.5281/zenodo.15800729) `_, accompanying Kratochvíl et al., *Nat. Protoc.* (2025), `doi:10.1038/s41596-025-01255-4 `_. When running these examples for the first time, required data files (~1 GB total) are downloaded automatically from Zenodo and cached locally. An active internet connection is required on the first run; if a download times out due to network issues, re-running the command will retry files that were not fully downloaded. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_01-mass_calibration_thumb.png :alt: :doc:`/auto_examples/01-mass_calibration` .. raw:: html
Mass calibration
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_02-mass_distribution_thumb.png :alt: :doc:`/auto_examples/02-mass_distribution` .. raw:: html
Mass distribution
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_03-event_rate_over_time_thumb.png :alt: :doc:`/auto_examples/03-event_rate_over_time` .. raw:: html
Event rate and landing kinetics
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_04-drift_correction_thumb.png :alt: :doc:`/auto_examples/04-drift_correction` .. raw:: html
Drift correction
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_05-shot_noise_curve_thumb.png :alt: :doc:`/auto_examples/05-shot_noise_curve` .. raw:: html
Shot noise curve
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_06-movie_metrics_thumb.png :alt: :doc:`/auto_examples/06-movie_metrics` .. raw:: html
Movie properties over time
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_07-step_by_step_pipeline_thumb.png :alt: :doc:`/auto_examples/07-step_by_step_pipeline` .. raw:: html
Step-by-step pipeline
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_08-custom_detection_thumb.png :alt: :doc:`/auto_examples/08-custom_detection` .. raw:: html
Custom detection function
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_09-analysis_record_thumb.png :alt: :doc:`/auto_examples/09-analysis_record` .. raw:: html
Analysis record and replay
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /auto_examples/01-mass_calibration /auto_examples/02-mass_distribution /auto_examples/03-event_rate_over_time /auto_examples/04-drift_correction /auto_examples/05-shot_noise_curve /auto_examples/06-movie_metrics /auto_examples/07-step_by_step_pipeline /auto_examples/08-custom_detection /auto_examples/09-analysis_record .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_