**************  BRAINREG LOG  **************

Analysis carried out: 2024-04-24_17-03-45
Output directory: /h20/Public/cebra/03CL47/analysis/composites_RSCM_v0.1_job_01251.ims/resolution_level_x/registration_channel_1_notch_filtered_contrast_stretched_background_subtracted_iterative2
Current directory: /h20/home/iana/bio/notebooks/scripts/cebra
Version: 0.4.0

**************  GIT INFO  **************

Gitpython is not installed. Cannot check if software is in a git repository

**************  COMMAND LINE ARGUMENTS  **************

Command: /h20/home/iana/anaconda3/envs/ap/bin/brainreg 
Input arguments: ['/h20/Public/cebra/03CL47/analysis/composites_RSCM_v0.1_job_01251.ims/resolution_level_x/channel_1_notch_filtered_contrast_stretched_background_subtracted_iterative2', '/h20/Public/cebra/03CL47/analysis/composites_RSCM_v0.1_job_01251.ims/resolution_level_x/registration_channel_1_notch_filtered_contrast_stretched_background_subtracted_iterative2', '-v', '5.33', '1.444', '1.444', '--orientation', 'spr', '--atlas', 'allen_mouse_10um']

**************  VARIABLES  **************

Namespace:
image_paths: /h20/Public/cebra/03CL47/analysis/composites_RSCM_v0.1_job_01251.ims/resolution_level_x/channel_1_notch_filtered_contrast_stretched_background_subtracted_iterative2
brainreg_directory: /h20/Public/cebra/03CL47/analysis/composites_RSCM_v0.1_job_01251.ims/resolution_level_x/registration_channel_1_notch_filtered_contrast_stretched_background_subtracted_iterative2
additional_images: None
atlas: allen_mouse_10um
backend: niftyreg
affine_n_steps: 6
affine_use_n_steps: 5
freeform_n_steps: 6
freeform_use_n_steps: 4
bending_energy_weight: 0.95
grid_spacing: -10
smoothing_sigma_reference: -1.0
smoothing_sigma_floating: -1.0
histogram_n_bins_floating: 128
histogram_n_bins_reference: 128
voxel_sizes: ['5.33', '1.444', '1.444']
orientation: spr
n_free_cpus: 4
debug: False
save_original_orientation: False
brain_geometry: full
sort_input_file: False
preprocessing: default


**************  LOGGING  **************

2024-04-24 17:03:45 PM - INFO - MainProcess fancylog.py:321 - Starting logging
2024-04-24 17:03:45 PM - INFO - MainProcess fancylog.py:322 - Not logging multiple processes
2024-04-24 17:03:45 PM - INFO - MainProcess cli.py:232 - Starting registration
2024-04-24 17:03:46 PM - DEBUG - MainProcess system.py:134 - Determining the maximum number of CPU cores to use
2024-04-24 17:03:46 PM - DEBUG - MainProcess system.py:143 - Number of CPU cores available is: 32
2024-04-24 17:03:46 PM - DEBUG - MainProcess system.py:173 - Setting number of processes to: 32
2024-04-24 17:03:46 PM - INFO - MainProcess main.py:52 - Loading raw image data
2024-04-24 17:03:46 PM - DEBUG - MainProcess load.py:65 - Data type is: directory of files
2024-04-24 17:03:47 PM - DEBUG - MainProcess system.py:134 - Determining the maximum number of CPU cores to use
2024-04-24 17:03:47 PM - DEBUG - MainProcess system.py:143 - Number of CPU cores available is: 32
2024-04-24 17:03:47 PM - DEBUG - MainProcess system.py:173 - Setting number of processes to: 32
2024-04-24 17:25:26 PM - INFO - MainProcess run.py:87 - Registering
2024-04-24 17:25:26 PM - INFO - MainProcess run.py:105 - Starting affine registration
2024-04-24 17:45:59 PM - INFO - MainProcess run.py:108 - Starting freeform registration
2024-04-24 17:47:22 PM - INFO - MainProcess run.py:111 - Starting segmentation
2024-04-24 17:48:27 PM - INFO - MainProcess run.py:114 - Segmenting hemispheres
2024-04-24 17:48:46 PM - INFO - MainProcess run.py:117 - Generating inverse (sample to atlas) transforms
2024-04-24 17:48:46 PM - DEBUG - MainProcess registration.py:130 - Generating inverse affine transform
2024-04-24 17:48:46 PM - DEBUG - MainProcess registration.py:169 - Registering sample to atlas
2024-04-24 17:51:00 PM - INFO - MainProcess run.py:120 - Transforming image to standard space
2024-04-24 17:51:41 PM - INFO - MainProcess run.py:126 - Generating deformation field
2024-04-24 17:51:41 PM - INFO - MainProcess registration.py:277 - Generating deformation field
2024-04-24 17:52:33 PM - INFO - MainProcess run.py:129 - Exporting images as tiff
2024-04-24 17:52:33 PM - DEBUG - MainProcess load.py:101 - Data type is: NifTI
2024-04-24 17:52:33 PM - INFO - MainProcess batteryrunners.py:268 - pixdim[0] (qfac) should be 1 (default) or -1; setting qfac to 1
2024-04-24 17:53:13 PM - DEBUG - MainProcess load.py:101 - Data type is: NifTI
2024-04-24 17:53:13 PM - INFO - MainProcess batteryrunners.py:268 - pixdim[0] (qfac) should be 1 (default) or -1; setting qfac to 1
2024-04-24 17:53:24 PM - DEBUG - MainProcess load.py:101 - Data type is: NifTI
2024-04-24 17:53:24 PM - INFO - MainProcess batteryrunners.py:268 - pixdim[0] (qfac) should be 1 (default) or -1; setting qfac to 1
2024-04-24 17:54:37 PM - DEBUG - MainProcess load.py:101 - Data type is: NifTI
2024-04-24 17:54:37 PM - INFO - MainProcess batteryrunners.py:268 - pixdim[0] (qfac) should be 1 (default) or -1; setting qfac to 1
2024-04-24 17:56:59 PM - INFO - MainProcess run.py:241 - Deleting intermediate niftyreg files
2024-04-24 17:57:00 PM - INFO - MainProcess main.py:92 - Calculating volumes of each brain area
2024-04-24 17:57:00 PM - DEBUG - MainProcess load.py:89 - Data type is: tif stack
2024-04-24 17:57:00 PM - DEBUG - MainProcess load.py:148 - Loading: /h20/Public/cebra/03CL47/analysis/composites_RSCM_v0.1_job_01251.ims/resolution_level_x/registration_channel_1_notch_filtered_contrast_stretched_background_subtracted_iterative2/registered_atlas.tiff
2024-04-24 17:57:16 PM - DEBUG - MainProcess load.py:89 - Data type is: tif stack
2024-04-24 17:57:16 PM - DEBUG - MainProcess load.py:148 - Loading: /h20/Public/cebra/03CL47/analysis/composites_RSCM_v0.1_job_01251.ims/resolution_level_x/registration_channel_1_notch_filtered_contrast_stretched_background_subtracted_iterative2/registered_hemispheres.tiff
2024-04-24 17:57:24 PM - WARNING - MainProcess volume.py:91 - Atlas value: 1006 not found in registered atlas. Setting registered volume to 0.
2024-04-24 17:57:24 PM - WARNING - MainProcess volume.py:91 - Atlas value: 312782604 not found in registered atlas. Setting registered volume to 0.
2024-04-24 17:57:24 PM - INFO - MainProcess main.py:104 - Generating boundary image
2024-04-24 17:57:24 PM - DEBUG - MainProcess load.py:89 - Data type is: tif stack
2024-04-24 17:57:24 PM - DEBUG - MainProcess load.py:148 - Loading: /h20/Public/cebra/03CL47/analysis/composites_RSCM_v0.1_job_01251.ims/resolution_level_x/registration_channel_1_notch_filtered_contrast_stretched_background_subtracted_iterative2/registered_atlas.tiff
2024-04-24 17:57:51 PM - DEBUG - MainProcess boundaries.py:21 - Saving segmentation boundary image
2024-04-24 17:57:55 PM - INFO - MainProcess main.py:107 - brainreg completed. Results can be found here: /h20/Public/cebra/03CL47/analysis/composites_RSCM_v0.1_job_01251.ims/resolution_level_x/registration_channel_1_notch_filtered_contrast_stretched_background_subtracted_iterative2
2024-04-24 17:57:55 PM - INFO - MainProcess cli.py:251 - Finished. Total time taken: 0:54:09.917171
