Skip to content

sajjad88/SMLMData.jl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMLMData

Data types and utilities for SMLM coordinate data.

Stable Dev Build Status Coverage

Overview

SMLMData provides a type for storing SMLM data as well as visualization tools and utilty functions. SMLMData Types should inherit from SMLD. The 2D data type is:

mutable struct SMLD2D <: SMLD
    connectID::Vector{Int}
    x::Vector{Float64}
    y::Vector{Float64}
    σ_x::Vector{Float64}
    σ_y::Vector{Float64}
    photons::Vector{Float64}
    σ_photons::Vector{Float64}
    bg::Vector{Float64}
    σ_bg::Vector{Float64}
    framenum::Vector{Int}
    datasetnum::Vector{Int}
    datasize::Vector{Int}
    nframes::Int
    ndatasets::Int
    datafields::NTuple{11, Symbol}
    SMLD2D() = new()
end

Visualization Tools

Utilities

A sub-Region Of Interest (ROI) can be extracted from an smld using SMLMData.isolateROI() as follows:

roi = [1.0; 1.0; 16.0; 16.0] # [YStart; XStart; YEnd; XEnd], same units as smld.x and smld.y
smld_sub = SMLMData.isolateROI(smld, roi)

About

Data types and utilities for SMLM coordinate data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Julia 100.0%