We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 499e317 commit 17ba154Copy full SHA for 17ba154
1 file changed
EMT_data_analysis/analysis_scripts/Analysis_tools.py
@@ -2079,6 +2079,7 @@ def _normalize_to_T0_mean_by_round_and_condiiton(group: pd.DataFrame) -> pd.Data
2079
Normalize each to time 0 mean intensity (for that condition and round)
2080
loop through each round and condition
2081
"""
2082
+ group["Mean Intensity"] = group["Mean Intensity"].astype(float)
2083
for round in group["Round"].unique():
2084
sub_group = group[(group["Round"] == round)]
2085
group.loc[sub_group.index, "Mean Intensity"] = sub_group["Mean Intensity"] / sub_group[sub_group["Time (h)"] == 0]["Mean Intensity"].mean()
0 commit comments