Note
Go to the end to download the full example code.
Generate random samples from a model#
author: OpenTPS team
This example demonstrates how to generate random samples from a model using OpenTPS.
running time: ~ 5 minutes
Setting up the environment in google collab#
import sys
if "google.colab" in sys.modules:
from IPython import get_ipython
get_ipython().system('git clone https://gitlab.com/openmcsquare/opentps.git')
get_ipython().system('pip install ./opentps')
import opentps
imports
import os
import sys
import time
import numpy as np
import matplotlib.pyplot as plt
from pathlib import Path
import opentps
import the needed opentps.core packages
from opentps.core.io.serializedObjectIO import loadDataStructure
from opentps.core.processing.deformableDataAugmentationToolBox.generateRandomSamplesFromModel import generateRandomImagesFromModel, generateRandomDeformationsFromModel
03/02/2026 03:15:14 PM - root - INFO - Loading logging configuration: /opt/hostedtoolcache/Python/3.12.12/x64/lib/python3.12/site-packages/opentps/core/config/logger/logging_config.json
03/02/2026 03:15:14 PM - opentps.core._loggingConfig - INFO - Log level set: INFO
03/02/2026 03:15:15 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not found.
03/02/2026 03:15:15 PM - opentps.core.processing.registration.registrationMorphons - WARNING - cupy not found.
03/02/2026 03:15:15 PM - opentps.core.processing.registration.morphonsCupy - WARNING - cupy not found.
Data path
testDataPath = os.path.join(Path(os.getcwd()).parent.absolute(), 'testData/')
read a serialized dynamic sequence
dataPath = testDataPath + "veryLightDynMod.p"
dynMod = loadDataStructure(dataPath)[0]
tryGPU = True
numberOfSamples = 50
imageList = []
startTime = time.time()
defList = generateRandomDeformationsFromModel(dynMod, numberOfSamples=numberOfSamples, ampDistribution='gaussian')
for deformation in defList:
imageList.append(deformation.deformImage(dynMod.midp, fillValue='closest', tryGPU=tryGPU))
print(len(imageList))
print('first test done in ', np.round(time.time() - startTime, 2))
plt.figure()
plt.imshow(imageList[0].imageArray[:, 50, :])
plt.show()

Dynamic3DModel taken from opentps.core.data.dynamicData._dynamic3DModel instead of Core.Data.DynamicData.dynamic3DModel
Event taken from opentps.core._event instead of Core.event
CTImage taken from opentps.core.data.images._ctImage instead of Core.Data.Images._ctImage
Deformation3D taken from opentps.core.data.images._deformation3D instead of Core.Data.Images._deformation3D
VectorField3D taken from opentps.core.data.images._vectorField3D instead of Core.Data.Images._vectorField3D
03/02/2026 03:15:16 PM - opentps.core.io.serializedObjectIO - INFO - Serialized data list of 1 items loaded
03/02/2026 03:15:16 PM - opentps.core.io.serializedObjectIO - INFO - 1, <class 'opentps.core.data.dynamicData._dynamic3DModel.Dynamic3DModel'>
03/02/2026 03:15:17 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:17 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:17 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:17 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:17 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:17 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:17 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:17 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:17 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:18 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:18 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:18 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:18 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:18 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:18 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:18 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:18 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:19 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:19 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:19 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:19 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:19 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:19 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:19 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:19 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:20 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:20 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:20 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:20 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:20 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:20 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:20 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:20 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:21 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:21 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:21 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:21 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:21 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:21 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:21 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:21 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:21 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:21 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:22 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:22 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:22 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:22 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:22 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:22 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:22 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:22 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:22 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:22 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:23 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:23 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:23 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:23 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:23 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:23 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:23 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:23 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:24 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:24 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:24 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:24 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:24 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:24 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:24 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:24 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:24 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:24 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:25 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:25 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:25 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:25 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:25 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:25 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:25 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:25 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:26 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:26 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:26 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:26 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:26 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:26 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:26 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:26 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:26 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:26 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:27 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:27 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:27 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:27 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:27 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:27 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:27 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:27 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:27 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:27 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:28 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
50
first test done in 11.64
startTime = time.time()
imageList = generateRandomImagesFromModel(dynMod, numberOfSamples=numberOfSamples, ampDistribution='gaussian', tryGPU=tryGPU)
print('second test done in ', np.round(time.time() - startTime, 2))
plt.figure()
plt.imshow(imageList[0].imageArray[:, 50, :])
plt.show()

03/02/2026 03:15:28 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:28 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:28 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:29 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:29 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:29 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:29 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:29 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:29 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:29 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:29 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:30 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:30 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:30 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:30 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:30 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:30 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:30 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:30 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:30 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:30 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:31 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:31 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:31 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:31 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:31 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:31 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:31 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:31 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:32 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:32 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:32 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:32 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:32 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:32 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:32 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:32 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:33 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:33 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:33 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:33 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:33 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:33 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:33 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:33 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:34 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:34 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:34 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:34 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:34 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:34 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:34 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:34 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:34 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:34 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:35 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:35 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:35 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:35 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:35 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:35 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:35 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:35 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:36 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:36 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:36 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:36 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:36 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:36 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:36 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:36 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:36 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:36 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:37 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:37 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:37 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:37 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:37 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:37 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:37 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:37 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:38 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:38 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:38 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:38 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:38 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:38 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:39 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:39 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:39 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:39 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:39 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:39 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:39 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:39 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:39 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:39 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:40 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
03/02/2026 03:15:40 PM - opentps.core.data.images._vectorField3D - WARNING - cupy not used for field exponentiation.
03/02/2026 03:15:40 PM - opentps.core.processing.C_libraries.libInterp3_wrapper - INFO - cupy 3D interpolation not enabled. The C implementation is tried instead
second test done in 12.13
Total running time of the script: (0 minutes 26.221 seconds)