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