Skip to content

Commit

Permalink
Merge pull request #42 from Ikru488/patch-1
Browse files Browse the repository at this point in the history
Include 'category' info in Insight3 data format
  • Loading branch information
Hazen Babcock authored May 28, 2020
2 parents 4550ebf + 595ea2d commit d002ac8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions storm_analysis/sa_library/i3dtype.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ def createFromMultiFit(peaks, frame, nm_per_pixel):
setI3Field(i3data, 'w', wy)
if "z" in peaks:
posSet(i3data, 'z', peaks["z"] * 1000.0)
if "category" in peaks:
setI3Field(i3data, 'c', peaks["category"])

return i3data

Expand Down

0 comments on commit d002ac8

Please sign in to comment.