AMS-BP 0.4.0__tar.gz → 0.4.22__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ams_bp-0.4.0 → ams_bp-0.4.22}/PKG-INFO +11 -29
- {ams_bp-0.4.0 → ams_bp-0.4.22}/README.md +10 -28
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/__init__.py +1 -1
- ams_bp-0.4.22/src/AMS_BP/gui/README.md +81 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/uv.lock +1 -1
- ams_bp-0.4.0/src/AMS_BP/gui/README.md +0 -77
- {ams_bp-0.4.0 → ams_bp-0.4.22}/.github/workflows/lint.yml +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/.github/workflows/pages.yml +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/.github/workflows/publish_pypi.yml +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/.gitignore +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/LICENSE +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/configio/configmodels.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/configio/convertconfig.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/configio/experiments.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/configio/saving.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/groundtruth_generators/nuclearporecomplexes.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/main_cli.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/metadata/metadata.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/motion/condensate_movement.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/motion/movement/boundary_conditions.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/motion/movement/fbm_BP.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/motion/track_gen.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/optics/camera/detectors.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/optics/camera/quantum_eff.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/optics/filters/channels/channelschema.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/optics/filters/filters.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/optics/lasers/laser_profiles.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/optics/psf/psf_engine.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/photophysics/photon_physics.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/photophysics/state_kinetics.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/probabilityfuncs/markov_chain.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/probabilityfuncs/probability_functions.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/sample/flurophore/flurophore_schema.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/sample/sim_sampleplane.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/sim_config.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/sim_microscopy.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/utils/constants.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/utils/errors.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/utils/util_functions.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/assets/buttons/ButtonFigure_FRAP.svg +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/assets/buttons/ButtonFigure_fPALM_NPC.svg +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/assets/buttons/ButtonFigure_sptPALM_mmaple.svg +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/assets/buttons/ButtonFigure_zstack_twocolor_confocal.svg +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/assets/buttons/ButtonFigure_zstack_twocolor_widefield.svg +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/assets/figures/Fig1_Schema.svg +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/assets/icons/Cells-actin-like-a-tree-Jamie-Whitelaw-1.png +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/assets/icons/drawing.pdf +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/assets/icons/drawing.png +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/assets/icons/drawing.svg +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/docs/index.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/examples/QuantitativeExperiments/FRAP/FRAP_base_[[0. 0.]].txt +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/examples/QuantitativeExperiments/FRAP/FRAP_base_[[0.04 0.04]].txt +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/examples/QuantitativeExperiments/FRAP/FRAP_base_[[0.1 0.1]].txt +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/examples/QuantitativeExperiments/FRAP/FRAP_base_[[0.4 0.4]].txt +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/examples/QuantitativeExperiments/FRAP/FRAP_data_[[0. 0.]].txt +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/examples/QuantitativeExperiments/FRAP/FRAP_data_[[0.04 0.04]].txt +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/examples/QuantitativeExperiments/FRAP/FRAP_data_[[0.1 0.1]].txt +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/examples/QuantitativeExperiments/FRAP/FRAP_data_[[0.4 0.4]].txt +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/examples/QuantitativeExperiments/FRAP/FRAP_methods.ipynb +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/examples/QuantitativeExperiments/MotionModels/groundtruth_boundedfbm.ipynb +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/examples/QuantitativeExperiments/PALM/fPALM/export_full2_0039_039.csv +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/examples/QuantitativeExperiments/PALM/fPALM/npc_palm.ipynb +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/examples/QuantitativeExperiments/PALM/sptPALM/motionmodels_sptmmaple.ipynb +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/examples/QuantitativeExperiments/TwoColor/Confocal/confocal_twocolor.ipynb +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/examples/QuantitativeExperiments/TwoColor/Widefield/widefield_twocolor.ipynb +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/examples/VisualizingIndividualModules/laser_modulation.ipynb +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/examples/VisualizingIndividualModules/modules_explained.ipynb +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/mkdocs.yml +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/pyproject.toml +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/pytest.ini +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/cells/__init__.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/cells/budding_yeast_cell.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/cells/cell_factory.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/configio/__init__.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/configio/configmodels.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/configio/convertconfig.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/configio/experiments.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/configio/saving.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/groundtruth_generators/__init__.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/groundtruth_generators/nuclearporecomplexes.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/__init__.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/assets/__init__.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/assets/drawing.svg +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/configuration_window.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/help_docs/__init__.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/help_docs/cell_help.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/help_docs/channels_help.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/help_docs/condensate_help.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/help_docs/detector_help.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/help_docs/experiment_help.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/help_docs/fluorophore_help.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/help_docs/general_help.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/help_docs/global_help.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/help_docs/laser_help.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/help_docs/molecule_help.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/help_docs/output_help.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/help_docs/psf_help.md +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/help_window.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/logging_window.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/main.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/sim_worker.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/template_window_selection.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/widgets/__init__.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/widgets/camera_config_widget.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/widgets/cell_config_widget.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/widgets/channel_config_widget.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/widgets/condensate_config_widget.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/widgets/experiment_config_widget.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/widgets/flurophore_config_widget.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/widgets/general_config_widget.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/widgets/global_config_widget.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/widgets/laser_config_widget.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/widgets/molecule_config_widget.py +3 -3
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/widgets/output_config_widget.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/widgets/psf_config_widget.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/widgets/utility_widgets/__init__.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/widgets/utility_widgets/scinotation_widget.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/gui/widgets/utility_widgets/spectrum_widget.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/logging/__init__.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/logging/logutil.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/logging/setup_run_directory.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/main_cli.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/metadata/__init__.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/metadata/metadata.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/motion/__init__.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/motion/condensate_movement.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/motion/movement/__init__.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/motion/movement/boundary_conditions.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/motion/track_gen.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/optics/__init__.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/optics/camera/__init__.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/optics/camera/detectors.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/optics/camera/quantum_eff.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/optics/filters/__init__.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/optics/filters/channels/__init__.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/optics/filters/channels/channelschema.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/optics/filters/filters.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/optics/lasers/__init__.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/optics/lasers/laser_profiles.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/optics/lasers/scanning_patterns.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/optics/psf/__init__.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/optics/psf/psf_engine.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/photophysics/__init__.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/photophysics/photon_physics.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/photophysics/state_kinetics.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/probabilityfuncs/__init__.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/probabilityfuncs/markov_chain.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/probabilityfuncs/probability_functions.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/resources/template_configs/metadata_configs.json +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/resources/template_configs/sim_config.toml +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/resources/template_configs/twocolor_widefield_timeseries_live.toml +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/resources/template_configs/twocolor_widefield_zstack_fixed.toml +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/resources/template_configs/twocolor_widefield_zstack_live.toml +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/run_sim_util.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/sample/__init__.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/sample/flurophores/__init__.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/sample/flurophores/flurophore_schema.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/sample/sim_sampleplane.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/sim_config.toml +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/sim_microscopy.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/utils/__init__.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/utils/constants.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/utils/decorators.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/utils/errors.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/utils/maskMaker.py +0 -0
- {ams_bp-0.4.0 → ams_bp-0.4.22}/src/AMS_BP/utils/util_functions.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: AMS_BP
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.22
|
4
4
|
Summary: Advanced Microscopy Simulations developed for the Weber Lab by Baljyot Singh Parmar
|
5
5
|
Project-URL: Documentation, https://joemans3.github.io/AMS_BP/
|
6
6
|
Project-URL: Source code, https://github.com/joemans3/AMS_BP
|
@@ -63,31 +63,29 @@ Find detailed API references for the library at: [joemans3/github.io/AMS_BP](htt
|
|
63
63
|
|
64
64
|
|
65
65
|
### ***Installing the CLI tool using UV***
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
66
|
1. [Install UV](https://docs.astral.sh/uv/getting-started/installation/).
|
71
67
|
2. Run the command:
|
72
68
|
```bash
|
73
69
|
uv tool install AMS_BP
|
74
70
|
```
|
75
|
-
3. You will have access to
|
71
|
+
3. You will have access to three CLI commands (using the uv interface):
|
76
72
|
- `run_AMS_BP runsim` : This is the main entry point for the simulation. (see `run_AMS_BP runsim --help` for more details)
|
77
73
|
- `run_AMS_BP config` : This is a helper tool to generate a template config file for the simulation. (see `run_AMS_BP config --help` for more details)
|
74
|
+
- `run_AMS_BP gui` : to start the GUI. See [GUI Documentation](./src/AMS_BP/gui/README.md)
|
78
75
|
- Note: using `run_AMS_BP --help` will show you all the available commands.
|
79
76
|
4. You can now use these tools (they are isolated in their own env created by uv, which is cool).
|
80
77
|
|
81
78
|
### ***PyPi***
|
82
79
|
|
83
|
-
1.
|
80
|
+
1. If using pip, make sure the environment is python >= 3.12
|
81
|
+
2. Run:
|
84
82
|
```bash
|
85
83
|
pip install AMS_BP
|
86
84
|
```
|
87
85
|
|
88
86
|
## Command Line Interface
|
89
87
|
|
90
|
-
AMS-BP provides a command-line interface with
|
88
|
+
AMS-BP provides a command-line interface with three main commands:
|
91
89
|
|
92
90
|
```bash
|
93
91
|
# Generate a default configuration file
|
@@ -111,10 +109,10 @@ In addition to the CLI and programmatic API, AMS-BP comes with a graphical inter
|
|
111
109
|
### Main GUI Features
|
112
110
|
The GUI provides the following tools from a single interface:
|
113
111
|
|
114
|
-
**Create Configuration File** — Launches the visual configuration builder
|
115
|
-
**Run Simulation from Config** — Select a .toml file and run the simulation with logging and progress tracking
|
116
|
-
**Visualize Microscopy Data (Napari)** — Open TIFF, PNG, ND2, or Zarr image files and view with the Napari viewer
|
117
|
-
**Package Logs for Sharing** — Package run directories (e.g., run_2024_04_20_001) into a .zip file for archival or collaboration
|
112
|
+
- **Create Configuration File** — Launches the visual configuration builder
|
113
|
+
- **Run Simulation from Config** — Select a .toml file and run the simulation with logging and progress tracking
|
114
|
+
- **Visualize Microscopy Data (Napari)** — Open TIFF, PNG, ND2, or Zarr image files and view with the Napari viewer
|
115
|
+
- **Package Logs for Sharing** — Package run directories (e.g., run_2024_04_20_001) into a .zip file for archival or collaboration
|
118
116
|
|
119
117
|
### Launch the GUI
|
120
118
|
To start the GUI, run:
|
@@ -123,23 +121,7 @@ To start the GUI, run:
|
|
123
121
|
|
124
122
|
run_AMS_BP gui
|
125
123
|
```
|
126
|
-
|
127
|
-
Clicking "Create Configuration File" opens a template selector where you can choose a preconfigured simulation (with preview images), and then visually edit all configuration options through dedicated tabs.
|
128
|
-
|
129
|
-
Each section of the configuration is editable via structured UI forms, with contextual help and validation. Tabs include:
|
130
|
-
|
131
|
-
- Global/Cell/Molecule/Condensate/Fluorophore parameters
|
132
|
-
- Laser and optical configuration
|
133
|
-
- Camera and channel settings
|
134
|
-
- Experiment setup (e.g., z-stack vs time-series)
|
135
|
-
Once ready, click "Preview Configuration TOML" to inspect the final file, and "Save" to export.
|
136
|
-
|
137
|
-
#### Running Simulations from GUI
|
138
|
-
Clicking "Run Simulation from Config" lets you select any .toml configuration file. A real-time log viewer shows progress, and outputs are saved in a structured AMS_runs/run_*/ directory.
|
139
|
-
|
140
|
-
#### Sharing Logs
|
141
|
-
Run into an issue? Use the packge logs button to select the logs corresponding to the simulation you just ran, save them and send them over to us! It will help you diagnose the issue!
|
142
|
-
|
124
|
+
For detailed walkthrough see the [GUI Documentation](./src/AMS_BP/gui/README.md).
|
143
125
|
## Configuration File
|
144
126
|
|
145
127
|
The configuration file (sim_config.toml) is divided into several key sections:
|
@@ -37,31 +37,29 @@ Find detailed API references for the library at: [joemans3/github.io/AMS_BP](htt
|
|
37
37
|
|
38
38
|
|
39
39
|
### ***Installing the CLI tool using UV***
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
40
|
1. [Install UV](https://docs.astral.sh/uv/getting-started/installation/).
|
45
41
|
2. Run the command:
|
46
42
|
```bash
|
47
43
|
uv tool install AMS_BP
|
48
44
|
```
|
49
|
-
3. You will have access to
|
45
|
+
3. You will have access to three CLI commands (using the uv interface):
|
50
46
|
- `run_AMS_BP runsim` : This is the main entry point for the simulation. (see `run_AMS_BP runsim --help` for more details)
|
51
47
|
- `run_AMS_BP config` : This is a helper tool to generate a template config file for the simulation. (see `run_AMS_BP config --help` for more details)
|
48
|
+
- `run_AMS_BP gui` : to start the GUI. See [GUI Documentation](./src/AMS_BP/gui/README.md)
|
52
49
|
- Note: using `run_AMS_BP --help` will show you all the available commands.
|
53
50
|
4. You can now use these tools (they are isolated in their own env created by uv, which is cool).
|
54
51
|
|
55
52
|
### ***PyPi***
|
56
53
|
|
57
|
-
1.
|
54
|
+
1. If using pip, make sure the environment is python >= 3.12
|
55
|
+
2. Run:
|
58
56
|
```bash
|
59
57
|
pip install AMS_BP
|
60
58
|
```
|
61
59
|
|
62
60
|
## Command Line Interface
|
63
61
|
|
64
|
-
AMS-BP provides a command-line interface with
|
62
|
+
AMS-BP provides a command-line interface with three main commands:
|
65
63
|
|
66
64
|
```bash
|
67
65
|
# Generate a default configuration file
|
@@ -85,10 +83,10 @@ In addition to the CLI and programmatic API, AMS-BP comes with a graphical inter
|
|
85
83
|
### Main GUI Features
|
86
84
|
The GUI provides the following tools from a single interface:
|
87
85
|
|
88
|
-
**Create Configuration File** — Launches the visual configuration builder
|
89
|
-
**Run Simulation from Config** — Select a .toml file and run the simulation with logging and progress tracking
|
90
|
-
**Visualize Microscopy Data (Napari)** — Open TIFF, PNG, ND2, or Zarr image files and view with the Napari viewer
|
91
|
-
**Package Logs for Sharing** — Package run directories (e.g., run_2024_04_20_001) into a .zip file for archival or collaboration
|
86
|
+
- **Create Configuration File** — Launches the visual configuration builder
|
87
|
+
- **Run Simulation from Config** — Select a .toml file and run the simulation with logging and progress tracking
|
88
|
+
- **Visualize Microscopy Data (Napari)** — Open TIFF, PNG, ND2, or Zarr image files and view with the Napari viewer
|
89
|
+
- **Package Logs for Sharing** — Package run directories (e.g., run_2024_04_20_001) into a .zip file for archival or collaboration
|
92
90
|
|
93
91
|
### Launch the GUI
|
94
92
|
To start the GUI, run:
|
@@ -97,23 +95,7 @@ To start the GUI, run:
|
|
97
95
|
|
98
96
|
run_AMS_BP gui
|
99
97
|
```
|
100
|
-
|
101
|
-
Clicking "Create Configuration File" opens a template selector where you can choose a preconfigured simulation (with preview images), and then visually edit all configuration options through dedicated tabs.
|
102
|
-
|
103
|
-
Each section of the configuration is editable via structured UI forms, with contextual help and validation. Tabs include:
|
104
|
-
|
105
|
-
- Global/Cell/Molecule/Condensate/Fluorophore parameters
|
106
|
-
- Laser and optical configuration
|
107
|
-
- Camera and channel settings
|
108
|
-
- Experiment setup (e.g., z-stack vs time-series)
|
109
|
-
Once ready, click "Preview Configuration TOML" to inspect the final file, and "Save" to export.
|
110
|
-
|
111
|
-
#### Running Simulations from GUI
|
112
|
-
Clicking "Run Simulation from Config" lets you select any .toml configuration file. A real-time log viewer shows progress, and outputs are saved in a structured AMS_runs/run_*/ directory.
|
113
|
-
|
114
|
-
#### Sharing Logs
|
115
|
-
Run into an issue? Use the packge logs button to select the logs corresponding to the simulation you just ran, save them and send them over to us! It will help you diagnose the issue!
|
116
|
-
|
98
|
+
For detailed walkthrough see the [GUI Documentation](./src/AMS_BP/gui/README.md).
|
117
99
|
## Configuration File
|
118
100
|
|
119
101
|
The configuration file (sim_config.toml) is divided into several key sections:
|
@@ -0,0 +1,81 @@
|
|
1
|
+
# AMS-BP GUI
|
2
|
+
|
3
|
+
The AMS-BP GUI provides a user-friendly interface for constructing and validating configuration files for the AMS-BP fluorescence microscopy simulation framework. It integrates simulation execution, configuration design, log packaging, and data visualization in one cohesive window.
|
4
|
+
|
5
|
+
## Overview
|
6
|
+
|
7
|
+
This GUI supports:
|
8
|
+
|
9
|
+
- A template-based configuration builder for quick setup.
|
10
|
+
- A visual editor for each simulation parameter block (cells, molecules, fluorophores, lasers, etc.).
|
11
|
+
- Interactive help sections for each tab.
|
12
|
+
- Simulation execution using prebuilt configs.
|
13
|
+
- Napari integration for visualization of resulting microscopy data.
|
14
|
+
- Packaging of simulation logs for easy sharing.
|
15
|
+
|
16
|
+
## Launching the GUI
|
17
|
+
|
18
|
+
```bash
|
19
|
+
run_AMS_BP gui
|
20
|
+
```
|
21
|
+
## GUI Structure
|
22
|
+
|
23
|
+
### Main Window
|
24
|
+
The main window (MainWindow) acts as the launchpad for:
|
25
|
+
|
26
|
+
- Configuration Builder — Launches a template selector and opens a full editor.
|
27
|
+
- Run Simulation from Config — Lets you pick a .toml file and start the simulation.
|
28
|
+
- Visualize Microscopy Data — Opens TIFF and other images in a Napari viewer.
|
29
|
+
- Package Logs for Sharing — Archives a run_* folder into a .zip.
|
30
|
+
|
31
|
+
#### Configuration Editor
|
32
|
+
Once a template is selected, the ConfigEditor is launched. It contains:
|
33
|
+
|
34
|
+
- A dropdown navigation system replacing traditional tabs.
|
35
|
+
- A floating tab counter and preview/save buttons.
|
36
|
+
- A help button per section (reads *.md files from help_docs/).
|
37
|
+
- Live validation using internal config models (convertconfig.py).
|
38
|
+
|
39
|
+
##### Tabs & Widgets
|
40
|
+
Each configuration section is implemented as a modular PyQt widget, including:
|
41
|
+
|
42
|
+
- GlobalConfigWidget
|
43
|
+
- CellConfigWidget
|
44
|
+
- MoleculeConfigWidget
|
45
|
+
- FluorophoreConfigWidget
|
46
|
+
- CondensateConfigWidget
|
47
|
+
- LaserConfigWidget
|
48
|
+
- ExperimentConfigWidget
|
49
|
+
- ...and more
|
50
|
+
|
51
|
+
Each widget supports:
|
52
|
+
|
53
|
+
- get_data() → Extract validated dictionary data
|
54
|
+
- set_data(data: dict) → Load existing config into the UI
|
55
|
+
- validate() → Validate using backend logic
|
56
|
+
- get_help_path() → Load the corresponding markdown help page
|
57
|
+
|
58
|
+
#### Running a Simulation
|
59
|
+
|
60
|
+
Once you've completed the config file setup via the GUI:
|
61
|
+
|
62
|
+
- Click "Preview Configuration TOML" to confirm contents.
|
63
|
+
- Click "Ready to Save Configuration" and choose a .toml path.
|
64
|
+
- Return to the main window, click "Run Simulation from Config".
|
65
|
+
- Simulation will launch in a background thread and print logs to a live window.
|
66
|
+
- Once done, results will be saved in a run_*/ folder.
|
67
|
+
|
68
|
+
#### Viewing Results
|
69
|
+
|
70
|
+
- Click "Visualize Microscopy Data (Napari)"
|
71
|
+
- Select any .tif, .tiff, .nd2, or .zarr file
|
72
|
+
|
73
|
+
The data will be loaded into a new Napari viewer session
|
74
|
+
|
75
|
+
#### Packaging Logs
|
76
|
+
|
77
|
+
To share or archive a completed simulation:
|
78
|
+
|
79
|
+
- Click "Package Logs for Sharing".
|
80
|
+
- Select the run_* folder you want.
|
81
|
+
- Choose a destination for the .zip file.
|
@@ -1,77 +0,0 @@
|
|
1
|
-
# AMS-BP GUI
|
2
|
-
|
3
|
-
The AMS-BP GUI provides a user-friendly interface for constructing and validating configuration files for the AMS-BP fluorescence microscopy simulation framework. It integrates simulation execution, configuration design, log packaging, and data visualization in one cohesive window.
|
4
|
-
|
5
|
-
## Overview
|
6
|
-
|
7
|
-
This GUI supports:
|
8
|
-
|
9
|
-
A template-based configuration builder for quick setup.
|
10
|
-
A visual editor for each simulation parameter block (cells, molecules, fluorophores, lasers, etc.).
|
11
|
-
Interactive help sections for each tab.
|
12
|
-
Simulation execution using prebuilt configs.
|
13
|
-
Napari integration for visualization of resulting microscopy data.
|
14
|
-
Packaging of simulation logs for easy sharing.
|
15
|
-
|
16
|
-
## Launching the GUI
|
17
|
-
|
18
|
-
```bash
|
19
|
-
run_AMS_BP gui
|
20
|
-
```
|
21
|
-
## GUI Structure
|
22
|
-
|
23
|
-
### Main Window
|
24
|
-
The main window (MainWindow) acts as the launchpad for:
|
25
|
-
|
26
|
-
Configuration Builder — Launches a template selector and opens a full editor.
|
27
|
-
Run Simulation from Config — Lets you pick a .toml file and start the simulation.
|
28
|
-
Visualize Microscopy Data — Opens TIFF and other images in a Napari viewer.
|
29
|
-
Package Logs for Sharing — Archives a run_* folder into a .zip.
|
30
|
-
#### Configuration Editor
|
31
|
-
Once a template is selected, the ConfigEditor is launched. It contains:
|
32
|
-
|
33
|
-
A dropdown navigation system replacing traditional tabs.
|
34
|
-
A floating tab counter and preview/save buttons.
|
35
|
-
A help button per section (reads *.md files from help_docs/).
|
36
|
-
Live validation using internal config models (convertconfig.py).
|
37
|
-
##### Tabs & Widgets
|
38
|
-
Each configuration section is implemented as a modular PyQt widget, including:
|
39
|
-
|
40
|
-
GlobalConfigWidget
|
41
|
-
CellConfigWidget
|
42
|
-
MoleculeConfigWidget
|
43
|
-
FluorophoreConfigWidget
|
44
|
-
CondensateConfigWidget
|
45
|
-
LaserConfigWidget
|
46
|
-
ExperimentConfigWidget
|
47
|
-
...and more
|
48
|
-
Each widget supports:
|
49
|
-
|
50
|
-
get_data() → Extract validated dictionary data
|
51
|
-
set_data(data: dict) → Load existing config into the UI
|
52
|
-
validate() → Validate using backend logic
|
53
|
-
get_help_path() → Load the corresponding markdown help page
|
54
|
-
|
55
|
-
#### Running a Simulation
|
56
|
-
|
57
|
-
Once you've completed the config file setup via the GUI:
|
58
|
-
|
59
|
-
Click "Preview Configuration TOML" to confirm contents.
|
60
|
-
Click "Ready to Save Configuration" and choose a .toml path.
|
61
|
-
Return to the main window, click "Run Simulation from Config".
|
62
|
-
Simulation will launch in a background thread and print logs to a live window.
|
63
|
-
Once done, results will be saved in a run_*/ folder.
|
64
|
-
|
65
|
-
#### Viewing Results
|
66
|
-
|
67
|
-
Click "Visualize Microscopy Data (Napari)"
|
68
|
-
Select any .tif, .tiff, .nd2, or .zarr file
|
69
|
-
The data will be loaded into a new Napari viewer session
|
70
|
-
|
71
|
-
#### Packaging Logs
|
72
|
-
|
73
|
-
To share or archive a completed simulation:
|
74
|
-
|
75
|
-
Click "Package Logs for Sharing".
|
76
|
-
Select the run_* folder you want.
|
77
|
-
Choose a destination for the .zip file.
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/groundtruth_generators/nuclearporecomplexes.md
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/motion/movement/boundary_conditions.md
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/optics/filters/channels/channelschema.md
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/probabilityfuncs/probability_functions.md
RENAMED
File without changes
|
{ams_bp-0.4.0 → ams_bp-0.4.22}/docs/API_Documentation/sample/flurophore/flurophore_schema.md
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ams_bp-0.4.0 → ams_bp-0.4.22}/docs/assets/buttons/ButtonFigure_zstack_twocolor_confocal.svg
RENAMED
File without changes
|
{ams_bp-0.4.0 → ams_bp-0.4.22}/docs/assets/buttons/ButtonFigure_zstack_twocolor_widefield.svg
RENAMED
File without changes
|
File without changes
|
{ams_bp-0.4.0 → ams_bp-0.4.22}/docs/assets/icons/Cells-actin-like-a-tree-Jamie-Whitelaw-1.png
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ams_bp-0.4.0 → ams_bp-0.4.22}/examples/QuantitativeExperiments/FRAP/FRAP_base_[[0. 0.]].txt
RENAMED
File without changes
|
{ams_bp-0.4.0 → ams_bp-0.4.22}/examples/QuantitativeExperiments/FRAP/FRAP_base_[[0.04 0.04]].txt
RENAMED
File without changes
|
{ams_bp-0.4.0 → ams_bp-0.4.22}/examples/QuantitativeExperiments/FRAP/FRAP_base_[[0.1 0.1]].txt
RENAMED
File without changes
|
{ams_bp-0.4.0 → ams_bp-0.4.22}/examples/QuantitativeExperiments/FRAP/FRAP_base_[[0.4 0.4]].txt
RENAMED
File without changes
|
{ams_bp-0.4.0 → ams_bp-0.4.22}/examples/QuantitativeExperiments/FRAP/FRAP_data_[[0. 0.]].txt
RENAMED
File without changes
|
{ams_bp-0.4.0 → ams_bp-0.4.22}/examples/QuantitativeExperiments/FRAP/FRAP_data_[[0.04 0.04]].txt
RENAMED
File without changes
|
{ams_bp-0.4.0 → ams_bp-0.4.22}/examples/QuantitativeExperiments/FRAP/FRAP_data_[[0.1 0.1]].txt
RENAMED
File without changes
|
{ams_bp-0.4.0 → ams_bp-0.4.22}/examples/QuantitativeExperiments/FRAP/FRAP_data_[[0.4 0.4]].txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
{ams_bp-0.4.0 → ams_bp-0.4.22}/examples/QuantitativeExperiments/PALM/fPALM/export_full2_0039_039.csv
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ams_bp-0.4.0 → ams_bp-0.4.22}/examples/VisualizingIndividualModules/modules_explained.ipynb
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -235,6 +235,9 @@ class MoleculeConfigWidget(QWidget):
|
|
235
235
|
}
|
236
236
|
self.molecule_type_widgets[i].set_data(type_data)
|
237
237
|
|
238
|
+
def get_help_path(self) -> Path:
|
239
|
+
return Path(__file__).parent.parent / "help_docs" / "molecule_help.md"
|
240
|
+
|
238
241
|
|
239
242
|
class MoleculeTypeWidget(QWidget):
|
240
243
|
def __init__(self, type_index):
|
@@ -709,6 +712,3 @@ class TransitionMatrixWidget(QWidget):
|
|
709
712
|
for i in range(size):
|
710
713
|
for j in range(min(size, len(matrix[i]))):
|
711
714
|
self.spinboxes[i][j].setValue(matrix[i][j])
|
712
|
-
|
713
|
-
def get_help_path(self) -> Path:
|
714
|
-
return Path(__file__).parent.parent / "help_docs" / "molecule_help.md"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|