You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem: After adjusting parameters (subj="Sample1" and params[subj]["distance"]=20) and rerunning preprocessing using the pypillometry package, an unwanted suffix (e.g., "_fi_hu_te_me") is added to the object's name.
`
preprocs = {}
Process each dataset with the specified parameters
for subj, d in datasets.items():
print(d.name)
pars = params[subj]
dp = d.blinks_detect(min_duration=pars["min_duration"], strategies=pars["strategies"],
vel_onset=pars["vel_onset"], vel_offset=pars["vel_offset"],
min_onset_len=pars["min_onset_len"], min_offset_len=pars["min_offset_len"])
.blinks_merge(distance=pars["distance"])
.blinks_interp_mahot(margin=pars["margin"], vel_onset=pars["vel_onset"], vel_offset=pars["vel_offset"])
.lowpass_filter(cutoff=pars["cutoff"])
alid_values = dp.sy[~np.isnan(dp.sy) & ~np.isinf(dp.sy)]
d.plot_segments(overlay=dp, pdffile="/Users/" + subj + "retPup.pdf")
preprocs[subj] = dp
`
Expected Behavior: The name of the PupilData object (Sample1) should remain unchanged after rerunning preprocessing with adjusted parameters.
Actual Behavior: The object's name is changed to include a suffix (e.g., "_fi_hu_te_me") after rerunning preprocessing with adjusted parameters.
The text was updated successfully, but these errors were encountered:
Problem: After adjusting parameters (subj="Sample1" and params[subj]["distance"]=20) and rerunning preprocessing using the pypillometry package, an unwanted suffix (e.g., "_fi_hu_te_me") is added to the object's name.
`
preprocs = {}
Process each dataset with the specified parameters
for subj, d in datasets.items():
print(d.name)
pars = params[subj]
dp = d.blinks_detect(min_duration=pars["min_duration"], strategies=pars["strategies"],
vel_onset=pars["vel_onset"], vel_offset=pars["vel_offset"],
min_onset_len=pars["min_onset_len"], min_offset_len=pars["min_offset_len"])
.blinks_merge(distance=pars["distance"])
.blinks_interp_mahot(margin=pars["margin"], vel_onset=pars["vel_onset"], vel_offset=pars["vel_offset"])
.lowpass_filter(cutoff=pars["cutoff"])
alid_values = dp.sy[~np.isnan(dp.sy) & ~np.isinf(dp.sy)]
d.plot_segments(overlay=dp, pdffile="/Users/" + subj + "retPup.pdf")
preprocs[subj] = dp
`
Expected Behavior: The name of the PupilData object (Sample1) should remain unchanged after rerunning preprocessing with adjusted parameters.
Actual Behavior: The object's name is changed to include a suffix (e.g., "_fi_hu_te_me") after rerunning preprocessing with adjusted parameters.
The text was updated successfully, but these errors were encountered: