tracts.util.time_to_physical_function#

time_to_physical_function(x)#

Convert a time parameter from optimizer space to physical space. This transformation maps unconstrained real values to strictly positive values using the exponential function.

Parameters:

x (float | numpy.ndarray) – Time parameter in optimizer space.

Returns:

Time parameter in physical space.

Return type:

float | numpy.ndarray