Browse Source

removed unused column definitions

xmlparsing
Holger Frey 3 years ago
parent
commit
e90d3367ea
  1. 33
      sensospot_data/columns.py

33
sensospot_data/columns.py

@ -66,36 +66,3 @@ PARSED_DATA_COLUMN_SET = { @@ -66,36 +66,3 @@ PARSED_DATA_COLUMN_SET = {
META_DATA_PARAMETERS_CHANNEL,
META_DATA_PARAMETERS_TIME,
}
# settings for nominal exposure info
SETTINGS_EXPOSURE_CHANNEL = "Exposure.Channel"
SETTINGS_EXPOSURE_TIME = "Exposure.Time"
# calculated value for dynamic range normalization
CALC_SPOT_OVERFLOW = "Calc.Spot.Is.Overflowing"
# settings for normalized exposure time
SETTINGS_NORMALIZED_EXPOSURE_TIME = "Settings.Normalized.Exposure.Time"
# normalized columns
n_prefix = "Calc.Normalized."
CALC_NORMALIZED_BKG_MEAN = f"{n_prefix}{RAW_DATA_BKG_MEAN}"
CALC_NORMALIZED_SPOT_MEAN = f"{n_prefix}{RAW_DATA_SPOT_MEAN}"
CALC_NORMALIZED_BKG_MEDIAN = f"{n_prefix}{RAW_DATA_BKG_MEDIAN}"
CALC_NORMALIZED_SPOT_MEDIAN = f"{n_prefix}{RAW_DATA_SPOT_MEDIAN}"
CALC_NORMALIZED_BKG_STDDEV = f"{n_prefix}{RAW_DATA_BKG_STDDEV}"
CALC_NORMALIZED_SPOT_STDDEV = f"{n_prefix}{RAW_DATA_SPOT_STDDEV}"
CALC_NORMALIZED_BKG_SUM = f"{n_prefix}{RAW_DATA_BKG_SUM}"
CALC_NORMALIZED_SPOT_SUM = f"{n_prefix}{RAW_DATA_SPOT_SUM}"
# what columns to convert for normalization
RAW_DATA_NORMALIZATION_MAP = {
RAW_DATA_BKG_MEAN: CALC_NORMALIZED_BKG_MEAN,
RAW_DATA_SPOT_MEAN: CALC_NORMALIZED_SPOT_MEAN,
RAW_DATA_BKG_MEDIAN: CALC_NORMALIZED_BKG_MEDIAN,
RAW_DATA_SPOT_MEDIAN: CALC_NORMALIZED_SPOT_MEDIAN,
RAW_DATA_BKG_STDDEV: CALC_NORMALIZED_BKG_STDDEV,
RAW_DATA_SPOT_STDDEV: CALC_NORMALIZED_SPOT_STDDEV,
RAW_DATA_BKG_SUM: CALC_NORMALIZED_BKG_SUM,
RAW_DATA_SPOT_SUM: CALC_NORMALIZED_SPOT_SUM,
}

Loading…
Cancel
Save