Browse Source

renamed parameters in create_xdr

xmlparsing
Holger Frey 4 years ago
parent
commit
d6561c5ca1
  1. 6
      sensospot_data/dynamic_range.py

6
sensospot_data/dynamic_range.py

@ -87,13 +87,13 @@ def normalize_values(data_frame, normalized_time=None): @@ -87,13 +87,13 @@ def normalize_values(data_frame, normalized_time=None):
def create_xdr(
data_frame,
normalized_time=None,
overflow_column=RAW_DATA_SPOT_MEAN,
overflow_limit=0.5,
column=RAW_DATA_SPOT_MEAN,
limit=0.5,
):
"""normalize measurement exposures
normalized_time:
if it is None, the max exposure time is used for normalization.
"""
data_frame = blend(data_frame, overflow_column, overflow_limit)
data_frame = blend(data_frame, column, limit)
return normalize_values(data_frame, normalized_time)

Loading…
Cancel
Save