コード例 #1
0
def a_priori_shape(t):
    transformation = Atanh()
    transformation.z_max = 1.2
    transformation.z_min = 0.0
    x = np.maximum(np.minimum(0.7 - (270 - t) / 100.0, 0.7), 0.2)
    x = 0.5 * np.ones(t.shape)
    return transformation(x)
コード例 #2
0
def a_priori_shape(t):
    transformation = Atanh()
    transformation.z_max = upper_limit
    transformation.z_min = lower_limit
    x = np.maximum(np.minimum(0.8 - (270 - t) / 100.0, 0.7), 0.1)
    return transformation(x)
コード例 #3
0
ファイル: __init__.py プロジェクト: erikssonpatrick/mcrf
def a_priori_shape(t):
    transformation = Atanh()
    transformation.z_max = 1.1
    transformation.z_min = 0.0
    x = np.maximum(np.minimum(0.5 - (270 - t) / 100.0, 0.5), 0.1)
    return transformation(x)