Getting Started¶
VLab4Mic is compatible with Python 3.10, 3.11, 3.12, and 3.13 on macOS, Windows, and Linux.
Step 1 — Install VLab4Mic¶
Tip
We recommend installing VLab4Mic in a dedicated virtual environment to avoid dependency conflicts. You can create one with Conda, pyenv, or Python's built-in venv; activate it before running the install command below.
For Python scripts only:
Including Jupyter notebook support:
Verify Installation¶
Check that VLab4Mic is installed correctly:
Or run a minimal simulation:
from vlab4mic.experiments import image_vsample
images, noiseless, experiment = image_vsample(run_simulation=True)
print("Installation successful!")
Next Steps¶
-
:material-notebook:{ .lg .middle } Use Jupyter Notebooks
Run VLab4Mic without writing code in Google Colab or a local Jupyter Lab.
-
:material-code-braces:{ .lg .middle } Use Python Scripts
Run VLab4Mic from the command line or a Python interpreter.