PYME.LMVis.dyeRatios module¶
Determine the splitting ratio for a given dye. Uses the following (in order of increasing precedence)
Hard coded values from this file
Values from the Splitter.Ratios metadata key if set in the acquisition software
Values contained in a json formatted file referenced by the PYME.config parameter SplitterRatioDatabase
If supplied, the SplitterRatioDatabase should be the filename of a json file with a nested dictionary following the format given below:
{
"Microsocope_ID_1" : {
"DICHROIC_1" : { "Dye1" : ratio1, "Dye2" : ratio2, "Dye3" : ratio3},
"DICHROIC_2" : { "Dye1" : ratio1, "Dye2" : ratio2},
},
"Microscope_ID_2" : {
"DICHROIC_1" : { "Dye1" : ratio1, "Dye2" : ratio2, "Dye3" : ratio3},
},
}
- PYME.LMVis.dyeRatios.getRatio(dye, mdh=None)¶
- PYME.LMVis.dyeRatios.get_ratios(dichroic=None, acquisition_machine='default')¶