neuron-explorer
Qwen3.5‑4B 전용 조향형 뉴런 탐색기, 모든 MLP 뉴런을 밀어 결과를 보관·탐색
Light microscopy simulation in python.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
Light microscopy simulation in python.
The goal of this library is to generate highly realistic simulated data such as the following:
*(this data was generated using segmentations from
cell jrc_hela-3 at OpenOrganelle as the ground truth)*
Start with the tutorial, and read about the
simulation stages, then see the
API Reference for details
on the Simulation object and options for all of the fields.README 전문 보기 ↗Light microscopy simulation in python.
The goal of this library is to generate highly realistic simulated data such as the following:
(this data was generated using segmentations from cell jrc_hela-3 at OpenOrganelle as the ground truth)
https://github.com/user-attachments/assets/905fa1af-c8bd-406e-87a7-7c5921de74d1
Documentation is at https://talleylambert.com/microsim/. Start with First simulation, read the User guide for how each part of the simulation works, and see the API reference for every option.
[!WARNING] microsim is in early development and changes quickly. Releases may break the API or change simulation results for the same parameters. If you depend on it, pin a specific version and record it with your results.
pip install "microsim[all]"
[!NOTE] At the moment, this library is a bit more "application" than it is "library". If you are following the docs or tutorials, its probably best to install the full
[all]extra, which brings in io, visualization, and other data-fetching dependencies. However, the bare minimal install is fully functional for generating data.
gh repo clone tlambert03/microsim
cd microsim
uv sync
To get the bleeding edge version, which will change rapidly, you can install from github.
pip install "microsim[all] @ git+https://github.com/tlambert03/microsim"
If available, microsim can use either Jax or Cupy to accelerate computations. These are not installed by default, see the jax or cupy installation instructions, paying attention to your GPU requirements. Support for torch is planned.
Construct and run a
microsim.Simulation
object.
from microsim import schema as ms
from microsim.util import ortho_plot
# define the parameters of the simulation
sim = ms.Simulation(
truth_space=ms.ShapeScaleSpace(shape=(128, 512, 512), scale=(0.02, 0.01, 0.01)),
output_space={"downscale": 8},
sample=ms.Sample(labels=[ms.MatsLines(density=0.5, length=30, azimuth=5, max_r=1)]),
modality=ms.Confocal(pinhole_au=1),
output_path="au1.tiff",
)
# run it
result = sim.run()
# optionally plot the result
ortho_plot(result)