Documentation
¶
Overview ¶
Example (ParseBeamLocationHeaders) ¶
Output: [{777 4 5} {3027 6 7}]|-1|<nil> [{777 5 6} {3027 7 8}]|4|<nil> [{777 4 5} {3027 7 8}]|6|<nil> []|6|Unexpected count of i/j columns []|-1|Expected column image_i, got: PMC_777_MCC_i [{444 4 5}]|-1|<nil> [{444 4 5}]|-1|<nil> []|-1|Expected column image_j, got: SCLK []|-1|Unexpected column header PMC_3027_MCC_i after PMC_777_MCC_i []|-1|Unexpected count of i/j columns []|-1|Unexpected column: SCLK []|-1|Expected column x, got: SCLK
Example (ParseBeamLocationRow) ¶
Output: 33,{1.1 1.2 1.3 0 map[20:{55.1 55.2}]}|<nil> 33,{1.1 1.2 1.3 0 map[320:{8.1 8.2} 777:{55.1 55.2}]}|<nil> 33,{1.1 1.2 1.3 0.983 map[320:{8.1 8.2} 777:{55.1 55.2}]}|<nil>
Example (ParseBeamLocations) ¶
Output: map[33:{1.1 1.2 1.3 0 map[222:{55.1 55.2}]}]|<nil> map[33:{31.1 31.2 31.3 0 map[22:{355.1 355.2} 62:{3121.4 3121.5}]} 66:{91.1 91.2 91.3 0 map[22:{955.1 955.2} 62:{9121.4 9121.5}]}]|<nil> map[33:{31.1 31.2 31.3 1.03 map[22:{355.1 355.2} 62:{3121.4 3121.5}]} 66:{91.1 91.2 91.3 0.99 map[22:{955.1 955.2} 62:{9121.4 9121.5}]}]|<nil> map[33:{31.1 31.2 31.3 1.03 map[22:{355.1 355.2} 62:{3121.4 3121.5}]} 66:{91.1 91.2 91.3 0.99 map[22:{955.1 955.2} 62:{9121.4 9121.5}]}]|<nil>
Example (SplitColumnHeader) ¶
Output: 333,corr,i|<nil> 777,MCC,j|<nil> 0,,|Unexpected column: PMC_777_MC_j 0,,|Unexpected column: PMC_bob_MCC_j 0,,|Unexpected column: PMC_777_MCC_k 0,,|Unexpected column: PMc_777_MCC_j 0,,|Unexpected column: nan
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadBeamLocationsFile ¶
func ReadBeamLocationsFile(beamPath string, expectMultipleIJ bool, mainImagePMC int32, ignoreColumns []string, jobLog logger.ILogger) (dataConvertModels.BeamLocationByPMC, error)
ReadBeamLocationsFile - Reads beam location CSV. Old style (expectMultipleIJ=false) or new multi-image IJ coord CSVs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.