Add files via upload

This commit is contained in:
David Rotermund 2024-02-27 21:55:27 +01:00 committed by GitHub
parent aafa3a3783
commit a1ae933c0a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 6 deletions

View file

@ -1,7 +1,7 @@
{
"basic_path": "/data_1/robert",
"recoding_data": "2020-12-08",
"mouse_identifier": "M3399M",
"recoding_data": "2021-10-05",
"mouse_identifier": "M3879M",
"raw_path": "raw",
"export_path": "output",
"ref_image_path": "ref_images",
@ -20,12 +20,14 @@
],
// binning
"binning_enable": true,
"binning_at_the_end": false,
"binning_at_the_end": true,
"binning_kernel_size": 4,
"binning_stride": 4,
"binning_divisor_override": 1,
// alignment
"alignment_batch_size": 200,
"rotation_stabilization_threshold_factor": 3.0, // >= 1.0
"rotation_stabilization_threshold_border": 0.9, // <= 1.0
// Heart beat detection
"lower_freqency_bandpass": 5.0, // Hz
"upper_freqency_bandpass": 14.0, // Hz

View file

@ -1,6 +1,5 @@
# TODO: Problem 1: Rotation over time instable
# TODO: Problem 2: I am only processing trials with one part
# The latter on is no real problem. I just need an example...
# TODO: I am only processing trials with one part
# The latter one is no real problem. I just need an example...
import numpy as np
import torch
@ -432,6 +431,7 @@ def process_trial(
image_alignment=image_alignment,
batch_size=config["alignment_batch_size"],
fill_value=-100.0,
config=config,
)
mylogger.info(
@ -468,6 +468,7 @@ def process_trial(
image_alignment=image_alignment,
batch_size=config["alignment_batch_size"],
fill_value=-100.0,
config=config,
)
mylogger.info(