Quickstart
This quickstart provides a practical overview of the main workflows available in theatRICS.
Depending on your experiment, you may use one or more of the following:
RICS Export
RICS Fitting
SFCS
FCS Fitting
FRAP
Image Simulation
Start the program
After installation, launch the GUI with:
theatrics
Workflow 1: RICS analysis from image stacks
Use this workflow when starting from microscopy image stacks such as TIFF or CZI data.
Step 1 — Export RICS maps
Open the RICS Export tab.
Select an input file or input folder.
Choose:
channel
crop factor
window size
optional drift correction
Click Export RICS.
This produces correlation maps and uncertainty maps.
Step 2 — Fit the exported RICS map
Open the RICS Fitting tab.
Select the exported RICS map file.
Enter the microscope parameters:
pixel size
pixel dwell time
line time
PSF size
PSF aspect ratio
Choose a diffusion model.
Click Run 2D/3D Fitting.
You can optionally enable:
1D Fast Axis Fit
Diffusion map generation
Outputs
Typical outputs include:
RICS correlation TIFF
uncertainty TIFF
fit summary CSV
NPZ fit arrays
SVG fit figures
Workflow 2: SFCS analysis
Use this workflow for perpendicular scanning FCS experiments.
Steps
Open the SFCS tab.
Select an input file.
Choose the channel.
Optionally enable Bleach Correction.
Set the number of CPU cores.
Click Correlate.
Display
The GUI will show:
original data preview
aligned data preview
intensity trace
correlation curve
Outputs
Typical outputs include:
correlation curves
uncertainty estimates
exported SVG plots
Workflow 3: FCS fitting from exported CSV curves
Use this workflow when you already have correlation curves saved as CSV files.
Single-file fitting
Open the FCS Fitting tab.
Select a Single CSV file.
Choose a fitting model.
Set:
tau range
PSF radius
PSF aspect ratio
experiment temperature
Adjust model-dependent initial parameters if needed.
Click Run Fit.
Batch fitting
Select a Batch folder.
Set a Batch file pattern, for example:
*_xy_intensity_trace_correlation.csv
Choose the model and fit parameters.
Click Run Fit.
The software recursively searches matching files in subfolders.
Calibration models
For models whose names contain Cal, the GUI also shows:
Given D
Given D temperature
These are hidden for non-calibration models.
Outputs
Per file:
SVG figure
fitted curve CSV
iMSD CSV where applicable
For batch mode:
one summary CSV in the outer selected folder
Workflow 4: FRAP analysis
Use this workflow for fluorescence recovery after photobleaching data stored in CZI files with circular ROI annotations.
Single-file analysis
Open the FRAP tab.
Select a Single CZI file.
Set:
imaging bleach correction
optional fallback pixel size
initial diffusion estimate
diffusion bounds
Click Run FRAP.
Batch analysis
Select a Batch folder.
Set a pattern such as:
*FRAP*.czi
Click Run FRAP.
The software recursively processes matching FRAP files.
Automatic FRAP processing
The FRAP workflow automatically:
identifies the bleach frame
identifies the control ROI
normalizes traces with the control ROI
fits FRAP recovery curves
Outputs
Per file:
*_FRAP_raw_data.xlsx*_FRAP_summary.xlsx*_FRAP_overview.svg
Workflow 5: Simulated data generation
Use this workflow to generate synthetic image stacks for testing and validation.
Steps
Open the Image Simulation tab.
Set:
image size
number of frames
number of particles
diffusion coefficients
simulation type
output file path
Click Run Simulation.
Outputs
The GUI shows:
first and last frame
average projection
intensity trace
The simulation is also saved as a TIFF stack.
Workflow 6: Diffusion map generation
Diffusion maps are generated from the RICS Fitting tab.
Steps
Open RICS Fitting.
In the Diffusion Map Fitting Parameters section:
select an input file
choose channel
set window size
set offset
Click Generate Diffusion Map.
Outputs
Typical outputs include:
diffusion map
brightness map
number map
auxiliary result arrays
Workflow 6: Vesicle / GUV detection and membrane analysis
Use this workflow to detect GUVs in CZI microscopy data and analyze their membranes.
Detection
Open the Vesicle Finder tab.
Select a CZI file.
Choose the detection channel.
Select the detection method:
hough: for fluorescence membrane images (bright ring)
hough_transmitted: for transmitted-light images
weighted_intensity: for both image types, improved and modified from Kohyama et al. 2022
cellpose: for filled or ring-shaped objects with deep learning
Set radius range in µm.
Click Detect Vesicles.
Click on detected vesicles to select them (selected = green, unselected = cyan).
Cropping
Click Crop Selected or Export All to export square crops for each selected vesicle across all frames.
Membrane straightening
After detection, set the membrane thickness in µm.
Choose the intensity channel (can differ from the detection channel).
Click Straighten Selected or Straighten All.
The display shows the unrolled membrane strip, intensity heatmap, and total intensity trace.
Troubleshooting detection
Enable Save debug images to inspect intermediate processing steps.
Check
08_distance_smooth.tifto verify that one bright peak per GUV is visible.If only one vesicle is detected instead of several, try reducing the min radius or adjusting the threshold method.
If detection is slow, reduce the search range parameter.
Monitoring progress
During long-running jobs, the GUI provides:
a status bar
a progress bar
a Cancel Running Task button
textual logs in the Results & Logs tab
For large batch jobs, the display may update only after the current file or at the end of the batch to keep the interface responsive.
Saving and exporting
The Results & Logs tab allows you to:
save log output
export plots
save a GUI session
reload a previous session
Plots are usually exported in high-quality formats such as SVG, while numerical outputs are saved as CSV, NPZ, TIFF, or Excel files depending on the workflow.
Suggested starting points
If you work with image stacks
Start with:
RICS Export
then RICS Fitting
If you work with scan correlation curves
Start with:
SFCS
then optionally FCS Fitting
If you work with photobleaching recovery experiments
Start with:
FRAP
If you want to test the pipeline
Start with:
Image Simulation