A Dispersive Image Scanning Microscope for Multi-color High-resolution Imaging.
The 1 match
- [1] § Materials and Methods › Image Processing ↔ get_psfs/simlulate_psfs.py, lines 50–90 · score 0.64 · simulate PSFs, PSF images, polynomial, fitting, wavelengths, efficiency
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Python · 183 lines · 6 KB · MIT · 1 match
- import os
- import numpy as np
- import pandas as pd
- from scipy.io import loadmat
- from utils import CROP_SIZE
- def get_optimal_red_shift(max_emission_wl, poly3_coeffs, selected_indices):
- max_em_selected = max_emission_wl[selected_indices]
- max_x_selected = np.polyval(poly3_coeffs, max_em_selected)
- min_edge_dist = CROP_SIZE[1] - np.min(max_x_selected)
- max_edge_dist = CROP_SIZE[1] - np.max(max_x_selected)
- red_shift = np.round(np.mean([min_edge_dist, max_edge_dist]))
- return red_shift
- def read_spectrum(file_path):
- """Read a spectrum file into a NumPy array using pandas to handle complex formatting."""
- try:
- df = pd.read_csv(file_path, header=None, comment="%", delimiter="\t")
- return df.values
- except Exception as e:
- raise ValueError(f"Error reading spectrum file {file_path}: {e}")
- def camera_QE_curve_vals():
- # Define camera efficiency curve
- camera_eff_vals = np.array(
- [
- [400, 0.7],
- [450, 0.85],
- [500, 0.88],
- [600, 0.9],
- [650, 0.92],
- [700, 0.9],
- [750, 0.85],
- [800, 0.75],
- [850, 0.6],
- [900, 0.43],
- ]
- )
- return camera_eff_vals
- # Simulate PSFs for all spectral files
- # crop_size = (9, 19)
- def simulate_psf(
- spectrum,
- poly3_coeffs,
- poly1_coeffs,
- filter_data,
- camera_eff_curve,
- crop_size=(9, 19),
- red_shift=4,
- sigma=1.25,
- ):
- def gaussian_2d(x, y, x0, y0, sigma):
- """Generate a 2D Gaussian distribution."""
- return np.exp(-((x - x0) ** 2 + (y - y0) ** 2) / (2 * sigma**2))
- """Simulate PSFs based on spectral data, polynomial fits, and camera efficiency."""
- psf_image = np.zeros(crop_size)
- x = np.arange(crop_size[1])
- y = np.arange(crop_size[0])
- xv, yv = np.meshgrid(x, y)
- for wl, intensity in spectrum:
- # Evaluate polynomial fits
- x_shift = np.polyval(poly3_coeffs, wl)
- y_shift = np.polyval(poly1_coeffs, x_shift)
- # Interpolate filter transmission and camera efficiency
- filter_transmission = np.interp(wl, filter_data[:, 0], filter_data[:, 1])
- camera_efficiency = np.interp(
- wl, camera_eff_curve[:, 0], camera_eff_curve[:, 1]
- )
- if (
- filter_transmission > 0 and camera_efficiency > 0
- ): # Process only valid wavelengths
- x0 = -(red_shift - 4) + x_shift
- y0 = y_shift - 1
- gaussian = gaussian_2d(xv, yv, x0, y0, sigma)
- psf_image += gaussian * intensity * filter_transmission * camera_efficiency
- return psf_image
- def simulate_selected_psfs(
- spectral_data_all,
- selected_indices,
- base_folder,
- filter_file,
- mat_file_processed,
- crop_size=(9, 19),
- red_shift=4,
- sigma=1.25,
- ):
- filter_data, poly3_coeffs, poly1_coeffs = get_filter_and_dispersion_curve(
- base_folder, filter_file, mat_file_processed
- )
- camera_eff_vals = camera_QE_curve_vals()
- psfs = []
- for i in selected_indices:
- psf_image = simulate_psf(
- spectral_data_all[i],
- poly3_coeffs,
- poly1_coeffs,
- filter_data,
- camera_eff_vals,
- crop_size,
- red_shift=red_shift,
- sigma=sigma,
- )
- psfs.append(psf_image)
- psfs = np.asarray(psfs)
- return psfs.transpose(1, 2, 0)
- def get_fluorophores_data(base_folder, wl_lim=(400, 900)):
- def load_spectrum_files(base_folder, pattern):
- """Load spectrum files matching a given pattern."""
- spectrum_files = []
- for root, _, files in os.walk(base_folder):
- for file in files:
- if file.endswith(pattern):
- spectrum_files.append(os.path.join(root, file))
- return spectrum_files
- em_files = load_spectrum_files(base_folder, "Em.txt")
- max_emission_wl = []
- fluorophore_names = []
- spectral_data_all = []
- for file_path in em_files:
- spectral_data = read_spectrum(file_path)
- # Filter spectral data to within wavelength limits
- spectral_data = spectral_data[
- (spectral_data[:, 0] >= wl_lim[0]) & (spectral_data[:, 0] <= wl_lim[1])
- ]
- max_emission_wl.append(
- spectral_data[
- np.where(spectral_data[:, 1] == max(spectral_data[:, 1]))[0], 0
- ]
- )
- fluorophore_name = os.path.splitext(os.path.basename(file_path))[0].replace(
- " - Em", ""
- )
- fluorophore_name = fluorophore_name.replace("FocalCheck ", "FC ")
- fluorophore_name = fluorophore_name.replace(" Ring", "")
- fluorophore_name = fluorophore_name.replace("Double", "")
- fluorophore_names.append(fluorophore_name)
- spectral_data_all.append(spectral_data)
- max_emission_wl = np.concatenate(max_emission_wl)
- ind_sorted = np.argsort(
- max_emission_wl,
- )
- # fluorophore_names=np.array(fluorophore_names)[ind_sorted]
- fluorophore_names[:] = [fluorophore_names[ind] for ind in ind_sorted[::-1]]
- spectral_data_all = [spectral_data_all[ind] for ind in ind_sorted[::-1]]
- max_emission_wl = max_emission_wl[ind_sorted[::-1]]
- return fluorophore_names, max_emission_wl, spectral_data_all
- def get_filter_and_dispersion_curve(base_folder, filter_file, mat_file_processed):
- filter_file_path = os.path.join(base_folder, filter_file)
- mat_file_processed_path = os.path.join(base_folder, mat_file_processed)
- # MATLAB file containing polynomial coefficients for the wavelength
- # dependent dispersion in X (poly3 coefficients - 'coeffs_PixToWl')
- # and linear shift in Y (poly1 coefficients - 'coeffs_Y').
- # Load data
- filter_data = read_spectrum(filter_file_path)
- processed_data = loadmat(mat_file_processed_path)
- # Extract polynomial coefficients for dispersion fits
- poly3_coeffs = processed_data["coeffs_PixToWl"].flatten()
- poly1_coeffs = processed_data["coeffs_Y"].flatten()
- return filter_data, poly3_coeffs, poly1_coeffs
simlulate_psfs.py at commit 5fc5435, under MIT · at the source
Overview
- School of Physics and Astronomy, Faculty of Exact Sciences, Tel Aviv University, Tel Aviv 6997801, Israel
- School of Neurobiology, Biochemistry and Biophysics, George S. Wise Faculty of Life Sciences, Tel Aviv University, Tel Aviv 6997801, Israel
- School of Chemistry, Faculty of Exact Sciences, Tel Aviv University, Tel Aviv 6997801, Israel
- Racah Institute of Physics, The Hebrew University of Jerusalem, Jerusalem 9190401, Israel
- The Rachel and Selim Benin School of Computer Science and Engineering, The Hebrew University of Jerusalem, Jerusalem 9190401, Israel
- Center for Physics and Chemistry of Living Systems, Tel Aviv University, Tel Aviv 6997801, Israel
- AFEKATel-Aviv Academic College of Engineering, 69107 Tel-Aviv, Israel
- Department of Biomedical Engineering, Tel Aviv University, Tel Aviv 6997801, Israel
Abstract
Fluorescence confocal microscopy is a fundamental and widely used tool for biological, medical, and chemical research. It enables color-coded visualization of sample components, enhancing our understanding of life’s building blocks and their interactions. The recent realization of image scanning microscopy (ISM) using confocal spinning disks (CSD) enhanced the spatial resolution of fluorescence microscopy to twice the diffraction limit with minimal sample perturbation and fast acquisition rates. However, capturing multicolor images using ISM is still time-consuming and introduces temporal artifacts as different colors are not acquired simultaneously. Here, we present a dispersive multicolor CSD-ISM system designed for concurrent enhanced-resolution and simultaneous multicolor acquisition. By integrating a custom linear Amici prism into the CSD-ISM optical detection path, we achieve multicolor, enhanced-resolution images at a fraction of the acquisition time and with a flexible color palette selection. A digital signal processor (DSP) is employed together with accompanying software as a cost-effective alternative to Field-Programmable Gate Arrays (FPGAs) used in previous studies. We provide an accompanying GPU-compatible, python-based image processing pipeline to decompose spectral signatures into multicolor channel-based images, while preserving the spatial resolution. Characterization using three color fluorescent beads demonstrated 1.74-fold resolution improvement and accurate color classification with a single simultaneous multicolor acquisition instead of the three acquisitions required in standard CSD-ISM. Application to neuron cells expressing a Parkinson’s disease-associated mutation, showcased improved resolution and contrast of four distinctly labeled cellular components. This multicolor CSD-ISM system provides a valuable tool for biological imaging, enabling the simultaneous acquisition of enhanced-resolution spatial information and multicolor data.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above, with 1 match between paragraphs and lines of code.
ebensteinLab/SPECIALS
5fc543504fc72e372cd1cbc4b1deb63475e1f9e5, 24 May 2025Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
16 files
- CoCoSISM_OLS _10_5.ipynb — Jupyter, 415 lines
- compute_backend.py — Python, 295 lines
- crops_to_image.py — Python, 99 lines
- deconvolution.py — Python, 222 lines
- get_crops.py — Python, 58 lines
- get_high_snr_crops.py — Python, 83 lines
- get_psfs/
create_psfs.py — Python, 127 lines - get_psfs/
simlulate_psfs.py — Python, 183 lines, 1 match - gui_functions.py — Python, 78 lines
- ism.py — Python, 111 lines
- run_script_ols.py — Python, 93 lines
- run_script_rl.py — Python, 92 lines
- to_distribute.py — Python, 122 lines
- utils.py — Python, 60 lines
- LICENSE — License, 21 lines
- README.md — Text, 69 lines
ebensteinLab
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 14 scripts, each with its path and the digest of its content;
- 1 match between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Data Availability Statement
Data underlying the results presented in this paper are not publicly available at this time but may be obtained from the authors upon reasonable request. The entire analysis pipeline, together with example data sets, can be found in https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 2, 28 September 2026
- Publisher: — → American Chemical Society
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 9 authors, 6 keywords, 1 funder, 41 references.
Cite
This paper
Bram, L., Tal-Friedman, O., Fibeesh, N., Deek, J., Bar-Sinai, Y., Flaxer, E., Roichman, Y., Ebenstein, Y., & Jeffet, J. (2026). A Dispersive Image Scanning Microscope for Multi-color High-resolution Imaging. ACS photonics, 13(14), 3796-3807. https://
BibTeX
@article{bram2026dispers
author = {Bram, Lanna and Tal-Friedman, Ofir and Fibeesh, Neta and Deek, Jasline and Bar-Sinai, Yohai and Flaxer, Eli and Roichman, Yael and Ebenstein, Yuval and Jeffet, Jonathan},
title = {{A Dispersive Image Scanning Microscope for Multi-color High-resolution Imaging}},
journal = {ACS photonics},
year = {2026},
month = jun,
volume = {13},
number = {14},
pages = {3796--3807},
publisher = {American Chemical Society},
issn = {2330-4022},
doi = {10.1021/
url = {https://
pmid = {42491450},
pmcid = {PMC13377594}
}
RIS
TY - JOUR
AU - Bram, Lanna
AU - Tal-Friedman, Ofir
AU - Fibeesh, Neta
AU - Deek, Jasline
AU - Bar-Sinai, Yohai
AU - Flaxer, Eli
AU - Roichman, Yael
AU - Ebenstein, Yuval
AU - Jeffet, Jonathan
TI - A Dispersive Image Scanning Microscope for Multi-color High-resolution Imaging
T2 - ACS photonics
J2 - ACS Photonics
PY - 2026
DA - 2026/
VL - 13
IS - 14
SP - 3796
EP - 3807
SN - 2330-4022
PB - American Chemical Society
DO - 10.1021/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1021/
"type": "article-journal",
"title": "A Dispersive Image Scanning Microscope for Multi-color High-resolution Imaging",
"container-title": "ACS photonics",
"author": [
{
"family": "Bram",
"given": "Lanna"
},
{
"family": "Tal-Friedman",
"given": "Ofir"
},
{
"family": "Fibeesh",
"given": "Neta"
},
{
"family": "Deek",
"given": "Jasline"
},
{
"family": "Bar-Sinai",
"given": "Yohai"
},
{
"family": "Flaxer",
"given": "Eli"
},
{
"family": "Roichman",
"given": "Yael"
},
{
"family": "Ebenstein",
"given": "Yuval"
},
{
"family": "Jeffet",
"given": "Jonathan"
}
],
"container-title-short":
"volume": "13",
"issue": "14",
"page": "3796-3807",
"DOI": "10.1021/
"PMID": "42491450",
"PMCID": "PMC13377594",
"ISSN": "2330-4022",
"publisher": "American Chemical Society",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
23
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1016/j.crmeth.2026.101476 [code]
- Unsupervised deep learning enables blur-free resolution enhancement in two-photon microscopy.Journal: Cell reports methodsIn common: tifffile, pandas, SciPy, 2 other tools, histology / microscopy, 1 reference
- [2] doi:10.1038/s41593-026-02267-3 [code]
- Spatial proteomic analysis in human Alzheimer's disease brains enables identification of microenvironment-depende
nt microglial cell states. Journal: Nature neuroscienceIn common: CuPy, tifffile, pandas, 3 other tools - [3] doi:10.1038/s41467-026-75352-7 [code]
- Mechanosensory encoding of surface mechanics optimizes locomotion.Journal: Nature communicationsIn common: tifffile, pandas, SciPy, 2 other tools, 1 reference
- [4] doi:10.1016/j.isci.2026.117010 [code]
- Deep learning-assisted mapping of dendritic spines using sequential 2D two-photon calcium imaging.Journal: iScienceIn common: tifffile, pandas, SciPy, 2 other tools, histology / microscopy, 1 reference
- [5] doi:10.1038/s41598-026-57519-w [code]
- Automated segmentation of neurons and spinal cord structures in immunofluorescence images using SpineDL.Journal: Scientific reportsIn common: tifffile, pandas, SciPy, 2 other tools, histology / microscopy, 1 reference
- [6] doi:10.1016/j.bpr.2026.100280 [code]
- Morphometric analysis reveals that the chick cranial neural tube expands as an active shell.Journal: Biophysical reportsIn common: tifffile, pandas, SciPy, 2 other tools, 1 reference
- [7] doi:10.1371/journal.pcbi.1013441 [code]
- Large vision model framework for automated C. elegans analysis: From static morphometry to dynamic neural activity.Journal: PLoS computational biologyIn common: tifffile, pandas, SciPy, 2 other tools, 1 reference
- [8] doi:10.1016/j.isci.2026.116206 [code]
- Gut distension evokes rapid neural dynamics in vagal and hindbrain populations of larval zebrafish.Journal: iScienceIn common: tifffile, pandas, SciPy, 2 other tools, 1 reference
- [9] doi:10.64898/2026.03.30.715222 [code]
- Synthetic lumen rounding directs neural progenitor division modeJournal: bioRxiv (preprint)In common: tifffile, pandas, SciPy, 2 other tools, 1 reference
- [10] doi:10.1126/sciadv.aef9926 [code]
- aDISCO: A clearing method to enable 3D microscopy of large archival paraffin-embedded human tissue blocks.Journal: Science advancesIn common: tifffile, SciPy, Matplotlib, 1 other tool, histology / microscopy, 1 reference
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 2 repositories of the authors' code, each at its verified commit and with its license, 14 scripts, and 1 match between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:5de9071810510507…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
