Browse Source

clarified column sets

xmlparsing
Holger Frey 3 years ago
parent
commit
1fa3c65d50
  1. 2
      sensospot_data/__init__.py
  2. 26
      sensospot_data/columns.py

2
sensospot_data/__init__.py

@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
Parsing the numerical output from Sensovations Sensospot image analysis.
"""
__version__ = "0.6.0"
__version__ = "0.6.1"
import sys

26
sensospot_data/columns.py

@ -71,13 +71,35 @@ PARSED_DATA_COLUMN_SET = { @@ -71,13 +71,35 @@ PARSED_DATA_COLUMN_SET = {
# list of columns to ensure a pandas numeric type
RAW_DATA_NUMERIC_COLUMNS = {
RAW_DATA_POS_ID,
RAW_DATA_POS_X,
RAW_DATA_POS_Y,
RAW_DATA_POS_NOM_X,
RAW_DATA_POS_NOM_Y,
RAW_DATA_BKG_MEAN,
RAW_DATA_SPOT_MEAN,
RAW_DATA_BKG_MEDIAN,
RAW_DATA_SPOT_MEDIAN,
RAW_DATA_BKG_STDDEV,
RAW_DATA_BKG_SUM,
RAW_DATA_SPOT_MEAN,
RAW_DATA_SPOT_MEDIAN,
RAW_DATA_SPOT_STDDEV,
RAW_DATA_SPOT_SUM,
RAW_DATA_SPOT_DIAMETER,
META_DATA_EXPOSURE_ID,
META_DATA_WELL_COLUMN,
}
# set of columns directly dependent on exposure time
EXPOSURE_DEPENDENT_COLUMNS = {
RAW_DATA_BKG_MEAN,
RAW_DATA_BKG_MEDIAN,
RAW_DATA_BKG_STDDEV,
RAW_DATA_BKG_SUM,
RAW_DATA_SPOT_MEAN,
RAW_DATA_SPOT_MEDIAN,
RAW_DATA_SPOT_STDDEV,
RAW_DATA_SPOT_SUM,
}

Loading…
Cancel
Save