""" Column name definitions """ # original, unmodified column names COL_NAME_POS_X = "Pos.X" COL_NAME_POS_Y = "Pos.Y" COL_NAME_BKG_MEAN = "Bkg.Mean" COL_NAME_SPOT_MEAN = "Spot.Mean" COL_NAME_BKG_MEDIAN = "Bkg.Median" COL_NAME_SPOT_MEDIAN = "Spot.Median" COL_NAME_BKG_STDDEV = "Bkg.StdDev" COL_NAME_SPOT_STDDEV = "Spot.StdDev" COL_NAME_BKG_SUM = "Bkg.Sum" COL_NAME_SPOT_SUM = "Spot.Sum" COL_NAME_BKG_AREA = "Bkg.Area" COL_NAME_SPOT_AREA = "Spot.Area" COL_NAME_SPOT_SAT = "Spot.Sat. (%)" COL_NAME_POS_NOM_X = "Pos.Nom.X" COL_NAME_POS_NOM_Y = "Pos.Nom.Y" # replacement column names COL_NAME_POS_ID = "Pos.Id" COL_NAME_SPOT_FOUND = "Spot.Found" COL_NAME_SPOT_DIAMETER = "Spot.Diameter" # additional column COL_NAME_SPOT_OVERFLOW = "Spot.Overflow" # well information COL_NAME_WELL_ROW = "Well.Row" COL_NAME_WELL_COLUMN = "Well.Column" # parsed measurement parameter information COL_NAME_PARAMETERS_CHANNEL = "Parameters.Channel" COL_NAME_PARAMETERS_TIME = "Parameters.Time" # applied exposure info COL_NAME_EXPOSURE_ID = "Exposure.Id" COL_NAME_EXPOSURE_CHANNEL = "Exposure.Channel" COL_NAME_EXPOSURE_TIME = "Exposure.Time" RAW_DATA_COLUMN_SET = { COL_NAME_POS_X, COL_NAME_POS_Y, COL_NAME_BKG_MEAN, COL_NAME_SPOT_MEAN, COL_NAME_BKG_MEDIAN, COL_NAME_SPOT_MEDIAN, COL_NAME_BKG_STDDEV, COL_NAME_SPOT_STDDEV, COL_NAME_BKG_SUM, COL_NAME_SPOT_SUM, COL_NAME_BKG_AREA , COL_NAME_SPOT_AREA, COL_NAME_SPOT_SAT, COL_NAME_POS_NOM_X, COL_NAME_POS_NOM_Y, COL_NAME_POS_ID, COL_NAME_SPOT_FOUND, COL_NAME_SPOT_DIAMETER, COL_NAME_WELL_ROW, COL_NAME_WELL_COLUMN, COL_NAME_PARAMETERS_CHANNEL, COL_NAME_PARAMETERS_TIME, COL_NAME_EXPOSURE_ID } # normalized columns COL_NAME_NORMALIZED_EXPOSURE_TIME = f"Normalized.{COL_NAME_EXPOSURE_TIME}" COL_NAME_NORMALIZED_BKG_MEAN = f"Normalized.{COL_NAME_BKG_MEAN}" COL_NAME_NORMALIZED_SPOT_MEAN = f"Normalized.{COL_NAME_SPOT_MEAN}" COL_NAME_NORMALIZED_BKG_MEDIAN = f"Normalized.{COL_NAME_BKG_MEDIAN}" COL_NAME_NORMALIZED_SPOT_MEDIAN = f"Normalized.{COL_NAME_SPOT_MEDIAN}" COL_NAME_NORMALIZED_BKG_STDDEV = f"Normalized.{COL_NAME_BKG_STDDEV}" COL_NAME_NORMALIZED_SPOT_STDDEV = f"Normalized.{COL_NAME_SPOT_STDDEV}" COL_NAME_NORMALIZED_BKG_SUM = f"Normalized.{COL_NAME_BKG_SUM}" COL_NAME_NORMALIZED_SPOT_SUM = f"Normalized.{COL_NAME_SPOT_SUM}" COLUMN_NORMALIZATION = { COL_NAME_BKG_MEAN: COL_NAME_NORMALIZED_BKG_MEAN, COL_NAME_SPOT_MEAN: COL_NAME_NORMALIZED_SPOT_MEAN, COL_NAME_BKG_MEDIAN: COL_NAME_NORMALIZED_BKG_MEDIAN, COL_NAME_SPOT_MEDIAN: COL_NAME_NORMALIZED_SPOT_MEDIAN, COL_NAME_BKG_STDDEV: COL_NAME_NORMALIZED_BKG_STDDEV, COL_NAME_SPOT_STDDEV: COL_NAME_NORMALIZED_SPOT_STDDEV, COL_NAME_BKG_SUM: COL_NAME_NORMALIZED_BKG_SUM, COL_NAME_SPOT_SUM: COL_NAME_NORMALIZED_SPOT_SUM, }