Skip to content

Commit

Permalink
Add pixel scale for Swift scope
Browse files Browse the repository at this point in the history
  • Loading branch information
Trybuche committed Jun 1, 2021
1 parent d05346e commit 5fa84ed
Showing 1 changed file with 10 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,25 +29,21 @@
Microscope scaling/pixel-size calibration settings.
"""

# The names of the microscope calibrations (shows up as the radio button/drop-down names):
# The names of the microscope calibrations (shows up as the radio button names):
names = [
'FluoroScope 5x',
'FluoroScope 20x',
'FluoroScope 50x',
'FluoroScope 100x',
'FluoroScope 150x',
'Olympus DUV 100x',
'Swift 4x',
'Swift 10x',
'Swift 40x',
'Swift 100x',
]


# The 'pixel-per-unit' obtained from the "Set Scale..." dialog, for each named calibration above:
# The 'pixel-per-unit' obtained from the "Set Scale..." Dialog, for each named calibration above:
cals = [
0.9058, # FluoroScope 5x to 150x
1.81,
4.525,
9.0667,
13.5333,
54.6875, # Olympus DUV
0.9058,
1.81,
12.5455,
25.4707,
]
# This is just 1/pixel_width, in case you were wondering.

Expand Down

0 comments on commit 5fa84ed

Please sign in to comment.