|
45 | 45 | # list out carefully all notes
|
46 | 46 | # handle the case where the passed recordings are not motion correction recordings.
|
47 | 47 |
|
48 |
| -SAVE = False |
| 48 | + |
| 49 | +# 1) get all commits and PRs in order. Work on the original PR |
| 50 | +# 2) investigate why the expected peaks do not drop when recording_amplitude_scalings (rename) is used |
| 51 | +# 3) think about and add new neurons that are introduced when shifted |
| 52 | + |
| 53 | +# 4) add interpolation of the histograms prior to cross correlation |
| 54 | +# 5) add robust cross-correlation |
| 55 | +# 6) add trimmed methods |
| 56 | +# 7) add better way to estimate chunk length. |
| 57 | + |
| 58 | +SAVE = True |
49 | 59 | PLOT = False
|
50 | 60 | BIN_UM = 2
|
51 | 61 |
|
52 | 62 | if SAVE:
|
53 | 63 | scalings = [np.ones(25), np.r_[np.zeros(10), np.ones(15)]] # TODO: there is something wrong here, because why are the maximum histograms not removed?
|
54 | 64 | recordings_list, _ = generate_session_displacement_recordings(
|
55 |
| - non_rigid_gradient=None, # 0.05, # None, |
| 65 | + non_rigid_gradient=0.1, # 0.05, # None, |
56 | 66 | num_units=15,
|
57 | 67 | recording_durations=(100, 100, 100, 100),
|
58 | 68 | recording_shifts=(
|
|
82 | 92 |
|
83 | 93 |
|
84 | 94 | corrected_recordings_list, motion_objects_list, extra_info = session_alignment.run_inter_session_displacement_correction(
|
85 |
| - recordings_list, peaks_list, peak_locations_list, bin_um=BIN_UM, histogram_estimation_method="entire_session", alignment_method="mean_crosscorr", rigid=False, log_scale=True, num_nonrigid_bins=7 |
| 95 | + recordings_list, peaks_list, peak_locations_list, bin_um=BIN_UM, histogram_estimation_method="entire_session", alignment_method="mean_crosscorr", rigid=False, log_scale=True, num_nonrigid_bins=24 |
86 | 96 | )
|
87 | 97 |
|
88 | 98 | plotting.SessionAlignmentWidget(
|
|
0 commit comments