HolyLab / Imagine

A graphical interface for recording with OCPI microscopes.
1 stars 1 forks source link

Laser info in .imagine header #46

Closed Cody-G closed 6 years ago

Cody-G commented 6 years ago

We recently began writing laser info in the header like this:

[laser]
405nm on :0
445nm on :0
488nm on :0
514nm on :1
561nm on :0
405nm percent intensity :0
445nm percent intensity :0
488nm percent intensity :0
514nm percent intensity :0
561nm percent intensity :0:

But to match the usual formatting we should use = as the separator. Also I think we should allow the percent intensity to be a float. I'm not sure whether Imagine does that or not, will test it tomorrow. But we could write the number with a decimal point just to make that clear. I'm thinking like this:

[laser]
405nm on=0
445nm on=0
488nm on=0
514nm on=1
561nm on=0
405nm percent intensity=0.0
445nm percent intensity=0.0
488nm percent intensity=0.0
514nm percent intensity=0.0
561nm percent intensity=0.0
Cody-G commented 6 years ago

@kdw503 it looks like the same is true for the bidirectional tag now. It should be bidirectional=1 instead of bidirectional: 1

Cody-G commented 6 years ago

Fixed, thanks!