#  ================================================================
#  Created by <NAME> on 1/31/19.
#  Copyright (c) 2019 <NAME>
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#  http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.
#  ================================================================
import numpy as np

out_sdf_field01 = np.array([[0.8667111, 1., 1., 1., 1.,
                             1., 1., 1., 1., 1.,
                             1., 1., 1., 1., 1.,
                             1.],
                            [0.7550358, 0.9348034, 1., 1., 1.,
                             1., 1., 1., 1., 1.,
                             1., 1., 1., 1., 1.,
                             1.],
                            [0.65500134, 0.7687389, 0.88503355, 0.93358153, 1.,
                             1., 1., 1., 1., 1.,
                             1., 1., 1., 1., 1.,
                             1.],
                            [0.5375206, 0.61014885, 0.78497523, 0.8335411, 1.,
                             1., 1., 1., 1., 1.,
                             1., 1., 1., 1., 1.,
                             1.],
                            [0.43746826, 0.5100786, 0.674951, 0.73348874, 0.949794,
                             0.98340505, 1., 1., 1., 1.,
                             1., 1., 1., 1., 1.,
                             1.],
                            [0.31999943, 0.36687848, 0.5749106, 0.63345426, 0.8497476,
                             0.87506765, 0.99062914, 1., 1., 1.,
                             1., 1., 1., 1., 1.,
                             1.],
                            [0.20832418, 0.26682612, 0.47484037, 0.53340787, 0.70737,
                             0.7687866, 0.82769984, 1., 1., 1.,
                             1., 1., 1., 1., 1.,
                             1.],
                            [0.10827779, 0.16677974, 0.37479398, 0.42007563, 0.6072938,
                             0.6687402, 0.7276177, 0.89989895, 0.9251892, 1.,
                             1., 1., 1., 1., 1.,
                             1.],
                            [0.0082314, 0.06673931, 0.27474162, 0.3200173, 0.44060943,
                             0.5549907, 0.5835771, 0.7998585, 0.82513684, 1.,
                             1., 1., 1., 1., 1.,
                             1.],
                            [-0.09181499, -0.03331303, 0.13484357, 0.2062857, 0.2776563,
                             0.4499614, 0.4835486, 0.69980615, 0.72510237, 0.904864,
                             0.9593963, 1., 1., 1., 1.,
                             1.],
                            [-0.19185542, -0.1449704, -0.03123283, 0.10622143, 0.17758606,
                             0.349915, 0.38350818, 0.5997657, 0.62005514, 0.7375359,
                             0.8593678, 0.9101092, 1., 1., 1.,
                             1.],
                            [-0.29189584, -0.24503468, -0.13129114, -0.01502037, 0.03356337,
                             0.24986266, 0.28344986, 0.4997134, 0.5200147, 0.6374776,
                             0.752449, 0.766921, 0.9831607, 1., 1.,
                             1.],
                            [-0.4301488, -0.3625035, -0.28989312, -0.12502669, -0.06648897,
                             0.14979838, 0.18342136, 0.3573179, 0.41248795, 0.47016737,
                             0.64991707, 0.6668686, 0.88312024, 0.9000837, 1.,
                             1.],
                            [-0.5874693, -0.47997233, -0.43309924, -0.22507308, -0.16653536,
                             0.04975795, 0.07506608, 0.19062756, 0.30499098, 0.32528636,
                             0.5498647, 0.5668461, 0.7830798, 0.79754585, 0.90939397,
                             1.],
                            [-0.6875276, -0.5800306, -0.53313965, -0.3251314, -0.26658174,
                             -0.09260177, -0.03118515, 0.09058117, 0.20493864, 0.22523998,
                             0.44983622, 0.46679375, 0.63987964, 0.69065684, 0.80935353,
                             0.919944],
                            [-0.84488386, -0.69169396, -0.63319796, -0.4251897, -0.3666341,
                             -0.19269584, -0.13125537, -0.07237195, 0.09989738, 0.12519954,
                             0.3497779, 0.3667414, 0.5397975, 0.59059256, 0.6426274,
                             0.8165538]], dtype=np.float32)

out_sdf_field02 = np.array([[8.37783337e-01, 9.62457180e-01, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00],
                            [7.37699986e-01, 8.62478256e-01, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00],
                            [6.37616456e-01, 7.62499392e-01, 9.12378967e-01,
                             1.00000000e+00, 9.75000560e-01, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00],
                            [5.37532687e-01, 6.62520528e-01, 8.12279463e-01,
                             9.37618971e-01, 8.75001848e-01, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00],
                            [4.37442750e-01, 5.62535822e-01, 7.12173760e-01,
                             8.99997175e-01, 7.74997175e-01, 9.75274980e-01,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00],
                            [3.37358594e-01, 4.62557107e-01, 4.24998462e-01,
                             7.99998462e-01, 7.37402081e-01, 8.75166535e-01,
                             9.87486362e-01, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00],
                            [2.37274200e-01, 3.99999768e-01, 3.24999750e-01,
                             5.12820303e-01, 6.37437284e-01, 7.75057793e-01,
                             8.87536407e-01, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00],
                            [1.37189597e-01, 3.00001055e-01, 2.62430191e-01,
                             4.12720859e-01, 5.37472606e-01, 6.74948752e-01,
                             7.87586570e-01, 9.12141204e-01, 1.00000000e+00,
                             9.50001061e-01, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00],
                            [-1.24997661e-01, 2.00002342e-01, 1.62451401e-01,
                             3.12621176e-01, 4.37507987e-01, 5.74839473e-01,
                             6.87636912e-01, 6.00002348e-01, 1.00000000e+00,
                             9.37367916e-01, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00],
                            [-2.25002334e-01, -6.22491576e-02, 6.24666996e-02,
                             2.12515265e-01, 3.37537527e-01, 4.74723935e-01,
                             6.74997687e-01, 4.99997675e-01, 7.12858319e-01,
                             8.37413132e-01, 9.62547779e-01, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00],
                            [-2.87567466e-01, -1.62333459e-01, -3.75119932e-02,
                             1.12415083e-01, 2.37573072e-01, 3.74614090e-01,
                             5.74998975e-01, 4.87335205e-01, 6.12739682e-01,
                             7.37464428e-01, 8.62426102e-01, 9.75106955e-01,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00],
                            [-3.87546659e-01, -2.62417972e-01, -1.37490630e-01,
                             1.23146465e-02, 1.37608722e-01, 7.50002414e-02,
                             4.75000232e-01, 3.87385368e-01, 5.12620747e-01,
                             6.37515843e-01, 7.62304127e-01, 8.75166953e-01,
                             7.75000215e-01, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00],
                            [-4.87525791e-01, -3.62502694e-01, -2.37469226e-01,
                             -8.77860412e-02, 1.00001529e-01, -2.49984749e-02,
                             1.75302804e-01, 2.87435651e-01, 4.12501514e-01,
                             5.37567377e-01, 6.62181795e-01, 8.75001550e-01,
                             6.75001502e-01, 8.87826443e-01, 1.00000000e+00,
                             1.00000000e+00],
                            [-5.87504864e-01, -4.62587625e-01, -3.37447762e-01,
                             -3.74997199e-01, 2.81333928e-06, -6.26042858e-02,
                             7.51933008e-02, 1.87486038e-01, 3.12382013e-01,
                             4.37619030e-01, 3.50002825e-01, 7.75002837e-01,
                             6.74833119e-01, 7.87702024e-01, 9.12487209e-01,
                             1.00000000e+00],
                            [-6.87489867e-01, -5.62678754e-01, -4.37432200e-01,
                             -4.75001872e-01, -2.87139177e-01, -1.62574708e-01,
                             -2.49224491e-02, 8.75305980e-02, 2.12256223e-01,
                             3.37664872e-01, 2.49998137e-01, 4.62897271e-01,
                             5.74887037e-01, 6.87571287e-01, 8.12535048e-01,
                             9.24760580e-01],
                            [-7.87468851e-01, -6.62764132e-01, -5.00000596e-01,
                             -5.75000584e-01, -3.87239546e-01, -2.62539089e-01,
                             -1.25032499e-01, -1.24187656e-02, 1.12136103e-01,
                             3.24999422e-01, 1.49999425e-01, 3.62775296e-01,
                             4.74947065e-01, 5.87446213e-01, 7.12589025e-01,
                             8.24640036e-01]], dtype=np.float32)

out_sdf_field03 = np.array([[1., 1., 1., 1., 1.,
                             1., 1., 0.92499906, 0.9624692, 0.9906352,
                             1., 1., 1., 1., 1.,
                             1.],
                            [1., 1., 1., 1., 1.,
                             1., 1., 0.82500035, 0.8928496, 0.97501993,
                             0.98124087, 0.98333865, 1., 1., 1.,
                             1.],
                            [1., 1., 1., 1., 1.,
                             1., 0.72499865, 0.7499853, 0.85357404, 0.94645137,
                             0.914257, 0.9785683, 1., 1., 1.,
                             1.],
                            [1., 1., 1., 1., 1.,
                             1., 0.62499994, 0.696397, 0.8249884, 0.8357326,
                             0.82143855, 0.95714056, 0.9964327, 0.99165744, 0.99687916,
                             1.],
                            [1., 1., 1., 1., 1.,
                             1., 0.5499803, 0.6535563, 0.7571738, 0.7416168,
                             0.7785969, 0.9143075, 0.93930656, 0.94643617, 1.,
                             1.],
                            [1., 1., 1., 1., 1.,
                             0.42499954, 0.47499162, 0.5964433, 0.635748, 0.6214154,
                             0.75001293, 0.865674, 0.86780787, 0.92500734, 0.9999998,
                             1.],
                            [1., 1., 1., 1., 1.,
                             0.34997225, 0.4250115, 0.54067385, 0.53924006, 0.5785734,
                             0.7214242, 0.76076466, 0.77182573, 0.89998436, 0.9857292,
                             0.9678405],
                            [1., 1., 1., 1., 0.22499911,
                             0.27498096, 0.39642212, 0.4357636, 0.43432307, 0.5499803,
                             0.6785786, 0.66782314, 0.7249778, 0.8713986, 0.90838754,
                             0.8928258],
                            [1., 1., 1., 1., 0.1499642,
                             0.22498342, 0.35358062, 0.33925533, 0.37854972, 0.52139956,
                             0.55838925, 0.55354095, 0.6714352, 0.8285544, 0.81427413,
                             0.8249959],
                            [1., 1., 1., 0.02499871, 0.07497025,
                             0.1964008, 0.23338628, 0.21782565, 0.32143497, 0.47855353,
                             0.46783853, 0.491665, 0.6285882, 0.7321714, 0.69282603,
                             0.7964047],
                            [1., 1., 1., -0.075, -0.00355892,
                             0.15355894, 0.13927072, 0.15, 0.27859217, 0.3821725,
                             0.35353702, 0.47140762, 0.6, 0.61072946, 0.5964409,
                             0.7535591],
                            [1., 1., -0.17499872, -0.12503757, -0.04640056,
                             0.05717346, 0.0178287, 0.12141386, 0.25000718, 0.26072794,
                             0.26073664, 0.42856324, 0.5321751, 0.51661456, 0.55359554,
                             0.70001316],
                            [1., 1., -0.2749974, -0.20357664, -0.04645994,
                             -0.06427596, -0.07854619, 0.07857066, 0.18217608, 0.17494299,
                             0.22503543, 0.3714491, 0.4107531, 0.39641348, 0.52500623,
                             0.6643123],
                            [1., -0.3750021, -0.3500134, -0.2464246, -0.14282902,
                             -0.1821742, -0.10000541, 0.02145228, 0.06074312, 0.06070259,
                             0.20001023, 0.32859826, 0.31423944, 0.35356173, 0.49997535,
                             0.5500551],
                            [1., -0.4750008, -0.40360045, -0.27501348, -0.26426324,
                             -0.27857268, -0.121457, -0.03432247, -0.03219428, 0.02500261,
                             0.17141773, 0.20838068, 0.19282457, 0.29644594, 0.46427202,
                             0.46426803],
                            [1., -0.55001855, -0.44644284, -0.34282553, -0.3583821,
                             -0.32141602, -0.17856966, -0.1392356, -0.1281777, -0.02854284,
                             0.12857245, 0.11426295, 0.12501198, 0.25359964, 0.3714651,
                             0.34282672]], dtype=np.float32)

out_sdf_field04 = np.array([[1., 1., 1., 1., 1.,
                             1., 1., 0.99063516, 0.9749727, 0.9906352,
                             1., 1., 1., 1., 1.,
                             1.],
                            [1., 1., 1., 1., 1.,
                             1., 1., 0.925027, 0.8928496, 0.97501993,
                             0.98124087, 0.98333865, 1., 1., 1.,
                             1.],
                            [1., 1., 1., 1., 1.,
                             1., 0.9656823, 0.85706997, 0.85357404, 0.94645137,
                             0.914257, 0.9785683, 1., 1., 1.,
                             1.],
                            [1., 1., 1., 1., 1.,
                             1., 0.8750242, 0.7342866, 0.8249884, 0.8357326,
                             0.82143855, 0.95714056, 0.9964327, 0.99165744, 0.99687916,
                             1.],
                            [1., 1., 1., 1., 1.,
                             1., 0.7427836, 0.6535563, 0.7571738, 0.7416168,
                             0.7785969, 0.9143075, 0.93930656, 0.94643617, 1.,
                             1.],
                            [1., 1., 1., 1., 1.,
                             0.8084448, 0.54989666, 0.5964433, 0.635748, 0.6214154,
                             0.75001293, 0.865674, 0.86780787, 0.92500734, 0.9999998,
                             1.],
                            [1., 1., 1., 1., 1.,
                             0.6285439, 0.4250115, 0.54067385, 0.53924006, 0.5785734,
                             0.7214242, 0.76076466, 0.77182573, 0.89998436, 0.9857292,
                             0.9678405],
                            [1., 1., 1., 1., 0.8892973,
                             0.3784754, 0.39642212, 0.4357636, 0.43432307, 0.5499803,
                             0.6785786, 0.66782314, 0.7249778, 0.8713986, 0.90838754,
                             0.8928258],
                            [1., 1., 1., 1., 0.5749629,
                             0.22498342, 0.35358062, 0.33925533, 0.37854972, 0.52139956,
                             0.55838925, 0.55354095, 0.6714352, 0.8285544, 0.81427413,
                             0.8249959],
                            [1., 1., 1., 0.86079824, 0.20708394,
                             0.1964008, 0.23338628, 0.21782565, 0.32143497, 0.47855353,
                             0.46783853, 0.491665, 0.6285882, 0.7321714, 0.69282603,
                             0.7964047],
                            [1., 1., 1., 0.53926426, -0.00355892,
                             0.15355894, 0.13927072, 0.15, 0.27859217, 0.3821725,
                             0.35353702, 0.47140762, 0.6, 0.61072946, 0.5964409,
                             0.7535591],
                            [1., 1., 0.83232874, 0.24971321, -0.04640056,
                             0.05717346, 0.0178287, 0.12141386, 0.25000718, 0.26072794,
                             0.26073664, 0.42856324, 0.5321751, 0.51661456, 0.55359554,
                             0.70001316],
                            [1., 1., 0.45370185, -0.20357664, -0.04645994,
                             -0.06427596, -0.07854619, 0.07857066, 0.18217608, 0.17494299,
                             0.22503543, 0.3714491, 0.4107531, 0.39641348, 0.52500623,
                             0.6643123],
                            [1., 0.8283609, 0.22814026, -0.2464246, -0.14282902,
                             -0.1821742, -0.10000541, 0.02145228, 0.06074312, 0.06070259,
                             0.20001023, 0.32859826, 0.31423944, 0.35356173, 0.49997535,
                             0.5500551],
                            [1., 0.3681867, -0.40360045, -0.27501348, -0.26426324,
                             -0.27857268, -0.121457, -0.03432247, -0.03219428, 0.02500261,
                             0.17141773, 0.20838068, 0.19282457, 0.29644594, 0.46427202,
                             0.46426803],
                            [1., 0.11397797, -0.44644284, -0.34282553, -0.3583821,
                             -0.32141602, -0.17856966, -0.1392356, -0.1281777, -0.02854284,
                             0.12857245, 0.11426295, 0.12501198, 0.25359964, 0.3714651,
                             0.34282672]], dtype=np.float32)

out_sdf_chunk = np.array([[-4.32066582e-02, 2.74926401e-03, 8.11256394e-02,
                           1.63633361e-01, 2.26405248e-01, 3.13018978e-01,
                           4.04173851e-01, 4.73608047e-01, 5.57035923e-01,
                           6.48821115e-01, 7.18736589e-01, 8.06985736e-01,
                           9.09396172e-01, 9.76360500e-01, 1.00000000e+00,
                           1.00000000e+00],
                          [-1.25831351e-01, -6.24693893e-02, 1.36919310e-02,
                           9.30115506e-02, 1.61301330e-01, 2.48676524e-01,
                           3.37135762e-01, 4.00155008e-01, 4.88671631e-01,
                           5.80373347e-01, 6.43460393e-01, 7.39816546e-01,
                           8.34715307e-01, 8.99279773e-01, 1.00000000e+00,
                           1.00000000e+00],
                          [-2.05495939e-01, -1.29737690e-01, -5.19432090e-02,
                           1.57035869e-02, 9.77754518e-02, 1.82159975e-01,
                           2.58755654e-01, 3.34479630e-01, 4.21953171e-01,
                           5.01806259e-01, 5.77492952e-01, 6.73295498e-01,
                           7.54420400e-01, 8.34533513e-01, 9.39070344e-01,
                           1.00000000e+00],
                          [-2.72524327e-01, -1.98250249e-01, -1.18780874e-01,
                           -5.42521439e-02, 3.04304045e-02, 1.18379287e-01,
                           1.80465713e-01, 2.67021328e-01, 3.55652690e-01,
                           4.21819061e-01, 5.11662602e-01, 6.06529355e-01,
                           6.72955751e-01, 7.66514957e-01, 8.68555844e-01,
                           9.37688291e-01],
                          [-3.39726329e-01, -2.67041445e-01, -1.94305167e-01,
                           -1.19226418e-01, -3.52352820e-02, 4.45403121e-02,
                           1.13796435e-01, 1.95741639e-01, 2.83540756e-01,
                           3.48336965e-01, 4.41703916e-01, 5.32977223e-01,
                           5.96774340e-01, 6.97313964e-01, 7.92871356e-01,
                           8.63176525e-01],
                          [-4.11362916e-01, -3.31681192e-01, -2.68949538e-01,
                           -1.84913710e-01, -1.02952115e-01, -3.26871835e-02,
                           4.34972309e-02, 1.28696099e-01, 2.04271808e-01,
                           2.79477954e-01, 3.74989182e-01, 4.50999260e-01,
                           5.29769003e-01, 6.31151319e-01, 7.08918989e-01,
                           7.94991076e-01],
                          [-4.79145318e-01, -4.04702842e-01, -3.33899975e-01,
                           -2.52534419e-01, -1.70852974e-01, -1.07139342e-01,
                           -2.51613539e-02, 6.11558519e-02, 1.24452256e-01,
                           2.09766611e-01, 3.05600435e-01, 3.70586634e-01,
                           4.60844457e-01, 5.60858786e-01, 6.27871573e-01,
                           7.27766693e-01],
                          [-5.47271192e-01, -4.80512500e-01, -4.01464820e-01,
                           -3.24120343e-01, -2.45234355e-01, -1.75395593e-01,
                           -9.64350924e-02, -1.12436702e-02, 5.17226718e-02,
                           1.42122045e-01, 2.32804552e-01, 2.92963505e-01,
                           3.88762325e-01, 4.85130370e-01, 5.52298844e-01,
                           6.57012284e-01],
                          [-6.15211546e-01, -5.49504876e-01, -4.69493091e-01,
                           -3.90620500e-01, -3.25921893e-01, -2.44490042e-01,
                           -1.65785089e-01, -9.24542472e-02, -1.31629398e-02,
                           7.03602955e-02, 1.50912985e-01, 2.27181599e-01,
                           3.20111185e-01, 4.02043730e-01, 4.85380709e-01,
                           5.87107182e-01],
                          [-6.91301346e-01, -6.15378439e-01, -5.39988220e-01,
                           -4.61404741e-01, -3.93990397e-01, -3.17750841e-01,
                           -2.35451743e-01, -1.70310572e-01, -8.57636258e-02,
                           6.02006854e-04, 6.82540163e-02, 1.56164899e-01,
                           2.49683842e-01, 3.18872899e-01, 4.12994593e-01,
                           5.15055597e-01],
                          [-7.61888862e-01, -6.84125662e-01, -6.09868705e-01,
                           -5.39477885e-01, -4.65424329e-01, -3.88621509e-01,
                           -3.08164179e-01, -2.41032228e-01, -1.57871082e-01,
                           -7.12938532e-02, -7.19502522e-03, 8.38518068e-02,
                           1.78555384e-01, 2.40488335e-01, 3.40718746e-01,
                           4.35315043e-01],
                          [-8.29338968e-01, -7.57085502e-01, -6.82125926e-01,
                           -6.13450229e-01, -5.33756554e-01, -4.60511416e-01,
                           -3.89165401e-01, -3.12331289e-01, -2.30199829e-01,
                           -1.49815515e-01, -7.72178099e-02, 9.34526231e-03,
                           9.50962231e-02, 1.69905260e-01, 2.68978596e-01,
                           3.52090567e-01],
                          [-8.98408830e-01, -8.28362942e-01, -7.53439903e-01,
                           -6.83240533e-01, -6.09945476e-01, -5.31212211e-01,
                           -4.67230350e-01, -3.83387476e-01, -2.99160153e-01,
                           -2.31773391e-01, -1.49033949e-01, -6.07132874e-02,
                           1.33611253e-02, 9.97409150e-02, 1.96009114e-01,
                           2.65672773e-01],
                          [-9.71124232e-01, -8.99457872e-01, -8.30979586e-01,
                           -7.54699051e-01, -6.83250964e-01, -6.04803085e-01,
                           -5.35658717e-01, -4.56399441e-01, -3.71691555e-01,
                           -3.10049176e-01, -2.22174063e-01, -1.30916372e-01,
                           -6.74158260e-02, 2.81728785e-02, 1.24010436e-01,
                           1.84369072e-01],
                          [-1.00000000e+00, -9.69013512e-01, -9.01144683e-01,
                           -8.27760220e-01, -7.53714859e-01, -6.85698509e-01,
                           -6.08596146e-01, -5.28097093e-01, -4.52326208e-01,
                           -3.81290138e-01, -2.95989931e-01, -2.10537747e-01,
                           -1.41675010e-01, -4.70943712e-02, 4.11465727e-02,
                           1.06769048e-01],
                          [-1.00000000e+00, -1.00000000e+00, -9.71983314e-01,
                           -9.02536452e-01, -8.25098097e-01, -7.62062490e-01,
                           -6.82501435e-01, -6.03317440e-01, -5.35545468e-01,
                           -4.55328047e-01, -3.68340284e-01, -2.91703612e-01,
                           -2.11811796e-01, -1.19078152e-01, -4.31880318e-02,
                           3.55876945e-02]], dtype=np.float32)

sdf_3d_slice01 = np.array([[[-0.20475684, -0.2718329, -0.33940297, -0.41053814,
                             -0.47973615, -0.54754835, -0.6144799, -0.69139594,
                             -0.76291186, -0.82926893, -0.8988074, -0.97098565,
                             -1., -1., -1., -1.]],

                           [[-0.13041718, -0.19898264, -0.26726198, -0.33195686,
                             -0.40533316, -0.48085, -0.54812276, -0.61513406,
                             -0.6857901, -0.7568284, -0.8265122, -0.89905554,
                             -0.96868193, -1., -1., -1.]],

                           [[-0.05159303, -0.11795311, -0.19352509, -0.26949567,
                             -0.3329001, -0.40127334, -0.4697546, -0.5401842,
                             -0.6103374, -0.6821744, -0.7519416, -0.8297361,
                             -0.9008161, -0.97198033, -1., -1.]],

                           [[0.01631528, -0.05366355, -0.11860802, -0.18563195,
                             -0.25372428, -0.32249835, -0.3909312, -0.4608303,
                             -0.5386583, -0.6148077, -0.6832592, -0.7546924,
                             -0.82786226, -0.9039304, -0.9779266, -1.]],

                           [[0.09734481, 0.03163889, -0.0351347, -0.10349526,
                             -0.17178132, -0.24583338, -0.32430065, -0.3944121,
                             -0.46513748, -0.5358427, -0.60939413, -0.68361086,
                             -0.7554948, -0.8274629, -0.9029112, -0.98226213]],

                           [[0.18223374, 0.11868029, 0.04477277, -0.03297701,
                             -0.10733827, -0.17565785, -0.2446696, -0.31756383,
                             -0.38871688, -0.45973283, -0.5306705, -0.6053954,
                             -0.68548465, -0.7603347, -0.832349, -0.90591604]],

                           [[0.25901046, 0.18068849, 0.11306702, 0.04537329,
                             -0.0254929, -0.09573101, -0.16611888, -0.23505314,
                             -0.30887496, -0.38855296, -0.46718267, -0.53770316,
                             -0.607904, -0.6806403, -0.75637394, -0.83188707]],

                           [[0.3345288, 0.2674229, 0.19761248, 0.12810154,
                             0.06117373, -0.01198053, -0.09179189, -0.17100646,
                             -0.2414055, -0.3113508, -0.38460863, -0.45659837,
                             -0.5285464, -0.60253733, -0.6757326, -0.75543445]],

                           [[0.4215054, 0.35445613, 0.28388125, 0.20457803,
                             0.12537389, 0.05252584, -0.01491904, -0.08574425,
                             -0.15761329, -0.22937803, -0.30043197, -0.37168336,
                             -0.45156848, -0.5349218, -0.6126381, -0.68388426]],

                           [[0.5017995, 0.42136607, 0.34753007, 0.28029305,
                             0.21193548, 0.14263166, 0.07018074, 0.00108704,
                             -0.06929486, -0.15131308, -0.23241787, -0.31055582,
                             -0.38096604, -0.45473945, -0.52764934, -0.60274744]],

                           [[0.57773066, 0.51035875, 0.44209582, 0.3743246,
                             0.30558106, 0.23218466, 0.15120803, 0.06889998,
                             -0.00930652, -0.07774457, -0.14970823, -0.22116004,
                             -0.2947412, -0.37067902, -0.44117716, -0.51609796]],

                           [[0.67372465, 0.6072543, 0.5338877, 0.4515655,
                             0.37155968, 0.29368994, 0.22628976, 0.1552522,
                             0.08366852, 0.00998154, -0.06056577, -0.1305498,
                             -0.20934565, -0.29290763, -0.37548465, -0.45198423]],

                           [[0.7540442, 0.6730221, 0.59785986, 0.529439,
                             0.46049577, 0.3898285, 0.3201082, 0.24996398,
                             0.17710625, 0.09599998, 0.01350045, -0.06811767,
                             -0.14037861, -0.21186395, -0.28660965, -0.3620803]],

                           [[0.8337743, 0.76607686, 0.69736683, 0.6300881,
                             0.56024337, 0.484772, 0.40280667, 0.31985265,
                             0.24074091, 0.17126425, 0.09886324, 0.02796873,
                             -0.04654675, -0.12094676, -0.19398032, -0.27120334]],

                           [[0.9401298, 0.8696056, 0.7920019, 0.7094442,
                             0.6278216, 0.5527272, 0.48454177, 0.41284856,
                             0.34142134, 0.26991662, 0.19591151, 0.12376829,
                             0.04146173, -0.04442408, -0.12813507, -0.20937918]],

                           [[1., 0.9367048, 0.86319065, 0.7964156,
                             0.72762364, 0.6566673, 0.58679205, 0.5157612,
                             0.43653396, 0.35248694, 0.26573387, 0.18438174,
                             0.10772794, 0.03523007, -0.03899559, -0.11253878]]],
                          dtype=np.float32)

sdf_3d_slice02 = np.array([[[-0.15828474, -0.2258139, -0.31726792, -0.41854447,
                             -0.51883006, -0.6033763, -0.645462, -0.6869416,
                             -0.72327024, -0.7763358, -0.8644161, -0.96556437,
                             -1., -1., -1., -1.]],

                           [[-0.11724376, -0.2199551, -0.31567535, -0.3823676,
                             -0.42022684, -0.4579158, -0.49682447, -0.5688098,
                             -0.66508883, -0.7674736, -0.8672254, -0.9566214,
                             -1., -1., -1., -1.]],

                           [[-0.10635137, -0.15794252, -0.19318739, -0.23076715,
                             -0.28082898, -0.3659076, -0.46659848, -0.5686373,
                             -0.661359, -0.7283486, -0.7708329, -0.8115571,
                             -0.85546386, -0.92087454, -1., -1.]],

                           [[0.0347948, -0.00265987, -0.07427778, -0.16607293,
                             -0.26674107, -0.36507088, -0.44712663, -0.49458835,
                             -0.52946675, -0.57718, -0.6276073, -0.71163124,
                             -0.81321603, -0.9182008, -1., -1.]],

                           [[0.13013457, 0.03356163, -0.06489212, -0.15566197,
                             -0.21839245, -0.2567028, -0.29905558, -0.3414111,
                             -0.41768035, -0.51306856, -0.6174873, -0.7212831,
                             -0.81221074, -0.87941104, -0.9208766, -0.9690759]],

                           [[0.13970095, 0.06181556, 0.01729878, -0.01788376,
                             -0.05833106, -0.12278296, -0.21631671, -0.31428707,
                             -0.41714862, -0.514597, -0.5900806, -0.6320864,
                             -0.6737332, -0.7177957, -0.7725691, -0.8593376]],

                           [[0.2607098, 0.22034676, 0.16743435, 0.082306,
                             -0.01604484, -0.11890986, -0.21445934, -0.29624635,
                             -0.34437734, -0.38262054, -0.4260473, -0.47746128,
                             -0.5629941, -0.661619, -0.7679372, -0.8730626]],

                           [[0.37702486, 0.28386486, 0.18366536, 0.08623048,
                             0.00105352, -0.05184137, -0.0931825, -0.13149002,
                             -0.18377991, -0.26476237, -0.36359546, -0.46737003,
                             -0.57266414, -0.6644632, -0.7299541, -0.77391493]],

                           [[0.38655585, 0.29687205, 0.23672199, 0.19767742,
                             0.16258742, 0.11196412, 0.02886167, -0.063048,
                             -0.16648252, -0.26809445, -0.3600693, -0.42747727,
                             -0.47133508, -0.51623654, -0.5587841, -0.6238807]],

                           [[0.4914882, 0.4515414, 0.40936098, 0.32805297,
                             0.23426425, 0.13258268, 0.0339981, -0.05861344,
                             -0.12047808, -0.16572699, -0.20942566, -0.2539534,
                             -0.32217124, -0.41769585, -0.519628, -0.6228114]],

                           [[0.6236901, 0.533245, 0.43442923, 0.33478448,
                             0.24564722, 0.17926085, 0.13835897, 0.09790006,
                             0.05118029, -0.02654833, -0.12119135, -0.21941717,
                             -0.32374653, -0.42159325, -0.5087995, -0.56681186]],

                           [[0.63738084, 0.54962367, 0.48488897, 0.44285813,
                             0.40389, 0.3554237, 0.27350315, 0.17983738,
                             0.07906744, -0.02175728, -0.1146424, -0.19709189,
                             -0.2472215, -0.28783286, -0.3345998, -0.38827598]],

                           [[0.7511944, 0.7096594, 0.65332645, 0.5730631,
                             0.47854367, 0.37924826, 0.28232044, 0.18881369,
                             0.11693326, 0.07301583, 0.0320527, -0.01466543,
                             -0.07647318, -0.16332234, -0.2650984, -0.36741194]],

                           [[0.8743434, 0.7776409, 0.67893976, 0.5839522,
                             0.49812043, 0.4338902, 0.3953811, 0.35134864,
                             0.30343905, 0.22863467, 0.13398415, 0.03628113,
                             -0.06676186, -0.167712, -0.25806686, -0.32917243]],

                           [[0.89005965, 0.8098362, 0.75372607, 0.7176227,
                             0.6721107, 0.6157429, 0.5281225, 0.43510342,
                             0.3356216, 0.23383684, 0.14114645, 0.05920541,
                             0.00130505, -0.03794361, -0.09272385, -0.14534502]],

                           [[1., 0.9918554, 0.92021626, 0.830434,
                             0.73466957, 0.63608646, 0.54116374, 0.45342973,
                             0.38579437, 0.3388197, 0.2985325, 0.23854096,
                             0.16856915, 0.0806923, -0.019745, -0.12005218]]],
                          dtype=np.float32)

#  ================================================================
#  Created by <NAME> on 1/31/19.
#  Copyright (c) 2019 <NAME>
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#  http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.
#  ================================================================
import numpy as np

out_sdf_field01 = np.array([[0.8667111, 1., 1., 1., 1.,
                             1., 1., 1., 1., 1.,
                             1., 1., 1., 1., 1.,
                             1.],
                            [0.7550358, 0.9348034, 1., 1., 1.,
                             1., 1., 1., 1., 1.,
                             1., 1., 1., 1., 1.,
                             1.],
                            [0.65500134, 0.7687389, 0.88503355, 0.93358153, 1.,
                             1., 1., 1., 1., 1.,
                             1., 1., 1., 1., 1.,
                             1.],
                            [0.5375206, 0.61014885, 0.78497523, 0.8335411, 1.,
                             1., 1., 1., 1., 1.,
                             1., 1., 1., 1., 1.,
                             1.],
                            [0.43746826, 0.5100786, 0.674951, 0.73348874, 0.949794,
                             0.98340505, 1., 1., 1., 1.,
                             1., 1., 1., 1., 1.,
                             1.],
                            [0.31999943, 0.36687848, 0.5749106, 0.63345426, 0.8497476,
                             0.87506765, 0.99062914, 1., 1., 1.,
                             1., 1., 1., 1., 1.,
                             1.],
                            [0.20832418, 0.26682612, 0.47484037, 0.53340787, 0.70737,
                             0.7687866, 0.82769984, 1., 1., 1.,
                             1., 1., 1., 1., 1.,
                             1.],
                            [0.10827779, 0.16677974, 0.37479398, 0.42007563, 0.6072938,
                             0.6687402, 0.7276177, 0.89989895, 0.9251892, 1.,
                             1., 1., 1., 1., 1.,
                             1.],
                            [0.0082314, 0.06673931, 0.27474162, 0.3200173, 0.44060943,
                             0.5549907, 0.5835771, 0.7998585, 0.82513684, 1.,
                             1., 1., 1., 1., 1.,
                             1.],
                            [-0.09181499, -0.03331303, 0.13484357, 0.2062857, 0.2776563,
                             0.4499614, 0.4835486, 0.69980615, 0.72510237, 0.904864,
                             0.9593963, 1., 1., 1., 1.,
                             1.],
                            [-0.19185542, -0.1449704, -0.03123283, 0.10622143, 0.17758606,
                             0.349915, 0.38350818, 0.5997657, 0.62005514, 0.7375359,
                             0.8593678, 0.9101092, 1., 1., 1.,
                             1.],
                            [-0.29189584, -0.24503468, -0.13129114, -0.01502037, 0.03356337,
                             0.24986266, 0.28344986, 0.4997134, 0.5200147, 0.6374776,
                             0.752449, 0.766921, 0.9831607, 1., 1.,
                             1.],
                            [-0.4301488, -0.3625035, -0.28989312, -0.12502669, -0.06648897,
                             0.14979838, 0.18342136, 0.3573179, 0.41248795, 0.47016737,
                             0.64991707, 0.6668686, 0.88312024, 0.9000837, 1.,
                             1.],
                            [-0.5874693, -0.47997233, -0.43309924, -0.22507308, -0.16653536,
                             0.04975795, 0.07506608, 0.19062756, 0.30499098, 0.32528636,
                             0.5498647, 0.5668461, 0.7830798, 0.79754585, 0.90939397,
                             1.],
                            [-0.6875276, -0.5800306, -0.53313965, -0.3251314, -0.26658174,
                             -0.09260177, -0.03118515, 0.09058117, 0.20493864, 0.22523998,
                             0.44983622, 0.46679375, 0.63987964, 0.69065684, 0.80935353,
                             0.919944],
                            [-0.84488386, -0.69169396, -0.63319796, -0.4251897, -0.3666341,
                             -0.19269584, -0.13125537, -0.07237195, 0.09989738, 0.12519954,
                             0.3497779, 0.3667414, 0.5397975, 0.59059256, 0.6426274,
                             0.8165538]], dtype=np.float32)

out_sdf_field02 = np.array([[8.37783337e-01, 9.62457180e-01, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00],
                            [7.37699986e-01, 8.62478256e-01, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00],
                            [6.37616456e-01, 7.62499392e-01, 9.12378967e-01,
                             1.00000000e+00, 9.75000560e-01, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00],
                            [5.37532687e-01, 6.62520528e-01, 8.12279463e-01,
                             9.37618971e-01, 8.75001848e-01, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00],
                            [4.37442750e-01, 5.62535822e-01, 7.12173760e-01,
                             8.99997175e-01, 7.74997175e-01, 9.75274980e-01,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00],
                            [3.37358594e-01, 4.62557107e-01, 4.24998462e-01,
                             7.99998462e-01, 7.37402081e-01, 8.75166535e-01,
                             9.87486362e-01, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00],
                            [2.37274200e-01, 3.99999768e-01, 3.24999750e-01,
                             5.12820303e-01, 6.37437284e-01, 7.75057793e-01,
                             8.87536407e-01, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00],
                            [1.37189597e-01, 3.00001055e-01, 2.62430191e-01,
                             4.12720859e-01, 5.37472606e-01, 6.74948752e-01,
                             7.87586570e-01, 9.12141204e-01, 1.00000000e+00,
                             9.50001061e-01, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00],
                            [-1.24997661e-01, 2.00002342e-01, 1.62451401e-01,
                             3.12621176e-01, 4.37507987e-01, 5.74839473e-01,
                             6.87636912e-01, 6.00002348e-01, 1.00000000e+00,
                             9.37367916e-01, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00],
                            [-2.25002334e-01, -6.22491576e-02, 6.24666996e-02,
                             2.12515265e-01, 3.37537527e-01, 4.74723935e-01,
                             6.74997687e-01, 4.99997675e-01, 7.12858319e-01,
                             8.37413132e-01, 9.62547779e-01, 1.00000000e+00,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00],
                            [-2.87567466e-01, -1.62333459e-01, -3.75119932e-02,
                             1.12415083e-01, 2.37573072e-01, 3.74614090e-01,
                             5.74998975e-01, 4.87335205e-01, 6.12739682e-01,
                             7.37464428e-01, 8.62426102e-01, 9.75106955e-01,
                             1.00000000e+00, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00],
                            [-3.87546659e-01, -2.62417972e-01, -1.37490630e-01,
                             1.23146465e-02, 1.37608722e-01, 7.50002414e-02,
                             4.75000232e-01, 3.87385368e-01, 5.12620747e-01,
                             6.37515843e-01, 7.62304127e-01, 8.75166953e-01,
                             7.75000215e-01, 1.00000000e+00, 1.00000000e+00,
                             1.00000000e+00],
                            [-4.87525791e-01, -3.62502694e-01, -2.37469226e-01,
                             -8.77860412e-02, 1.00001529e-01, -2.49984749e-02,
                             1.75302804e-01, 2.87435651e-01, 4.12501514e-01,
                             5.37567377e-01, 6.62181795e-01, 8.75001550e-01,
                             6.75001502e-01, 8.87826443e-01, 1.00000000e+00,
                             1.00000000e+00],
                            [-5.87504864e-01, -4.62587625e-01, -3.37447762e-01,
                             -3.74997199e-01, 2.81333928e-06, -6.26042858e-02,
                             7.51933008e-02, 1.87486038e-01, 3.12382013e-01,
                             4.37619030e-01, 3.50002825e-01, 7.75002837e-01,
                             6.74833119e-01, 7.87702024e-01, 9.12487209e-01,
                             1.00000000e+00],
                            [-6.87489867e-01, -5.62678754e-01, -4.37432200e-01,
                             -4.75001872e-01, -2.87139177e-01, -1.62574708e-01,
                             -2.49224491e-02, 8.75305980e-02, 2.12256223e-01,
                             3.37664872e-01, 2.49998137e-01, 4.62897271e-01,
                             5.74887037e-01, 6.87571287e-01, 8.12535048e-01,
                             9.24760580e-01],
                            [-7.87468851e-01, -6.62764132e-01, -5.00000596e-01,
                             -5.75000584e-01, -3.87239546e-01, -2.62539089e-01,
                             -1.25032499e-01, -1.24187656e-02, 1.12136103e-01,
                             3.24999422e-01, 1.49999425e-01, 3.62775296e-01,
                             4.74947065e-01, 5.87446213e-01, 7.12589025e-01,
                             8.24640036e-01]], dtype=np.float32)

out_sdf_field03 = np.array([[1., 1., 1., 1., 1.,
                             1., 1., 0.92499906, 0.9624692, 0.9906352,
                             1., 1., 1., 1., 1.,
                             1.],
                            [1., 1., 1., 1., 1.,
                             1., 1., 0.82500035, 0.8928496, 0.97501993,
                             0.98124087, 0.98333865, 1., 1., 1.,
                             1.],
                            [1., 1., 1., 1., 1.,
                             1., 0.72499865, 0.7499853, 0.85357404, 0.94645137,
                             0.914257, 0.9785683, 1., 1., 1.,
                             1.],
                            [1., 1., 1., 1., 1.,
                             1., 0.62499994, 0.696397, 0.8249884, 0.8357326,
                             0.82143855, 0.95714056, 0.9964327, 0.99165744, 0.99687916,
                             1.],
                            [1., 1., 1., 1., 1.,
                             1., 0.5499803, 0.6535563, 0.7571738, 0.7416168,
                             0.7785969, 0.9143075, 0.93930656, 0.94643617, 1.,
                             1.],
                            [1., 1., 1., 1., 1.,
                             0.42499954, 0.47499162, 0.5964433, 0.635748, 0.6214154,
                             0.75001293, 0.865674, 0.86780787, 0.92500734, 0.9999998,
                             1.],
                            [1., 1., 1., 1., 1.,
                             0.34997225, 0.4250115, 0.54067385, 0.53924006, 0.5785734,
                             0.7214242, 0.76076466, 0.77182573, 0.89998436, 0.9857292,
                             0.9678405],
                            [1., 1., 1., 1., 0.22499911,
                             0.27498096, 0.39642212, 0.4357636, 0.43432307, 0.5499803,
                             0.6785786, 0.66782314, 0.7249778, 0.8713986, 0.90838754,
                             0.8928258],
                            [1., 1., 1., 1., 0.1499642,
                             0.22498342, 0.35358062, 0.33925533, 0.37854972, 0.52139956,
                             0.55838925, 0.55354095, 0.6714352, 0.8285544, 0.81427413,
                             0.8249959],
                            [1., 1., 1., 0.02499871, 0.07497025,
                             0.1964008, 0.23338628, 0.21782565, 0.32143497, 0.47855353,
                             0.46783853, 0.491665, 0.6285882, 0.7321714, 0.69282603,
                             0.7964047],
                            [1., 1., 1., -0.075, -0.00355892,
                             0.15355894, 0.13927072, 0.15, 0.27859217, 0.3821725,
                             0.35353702, 0.47140762, 0.6, 0.61072946, 0.5964409,
                             0.7535591],
                            [1., 1., -0.17499872, -0.12503757, -0.04640056,
                             0.05717346, 0.0178287, 0.12141386, 0.25000718, 0.26072794,
                             0.26073664, 0.42856324, 0.5321751, 0.51661456, 0.55359554,
                             0.70001316],
                            [1., 1., -0.2749974, -0.20357664, -0.04645994,
                             -0.06427596, -0.07854619, 0.07857066, 0.18217608, 0.17494299,
                             0.22503543, 0.3714491, 0.4107531, 0.39641348, 0.52500623,
                             0.6643123],
                            [1., -0.3750021, -0.3500134, -0.2464246, -0.14282902,
                             -0.1821742, -0.10000541, 0.02145228, 0.06074312, 0.06070259,
                             0.20001023, 0.32859826, 0.31423944, 0.35356173, 0.49997535,
                             0.5500551],
                            [1., -0.4750008, -0.40360045, -0.27501348, -0.26426324,
                             -0.27857268, -0.121457, -0.03432247, -0.03219428, 0.02500261,
                             0.17141773, 0.20838068, 0.19282457, 0.29644594, 0.46427202,
                             0.46426803],
                            [1., -0.55001855, -0.44644284, -0.34282553, -0.3583821,
                             -0.32141602, -0.17856966, -0.1392356, -0.1281777, -0.02854284,
                             0.12857245, 0.11426295, 0.12501198, 0.25359964, 0.3714651,
                             0.34282672]], dtype=np.float32)

out_sdf_field04 = np.array([[1., 1., 1., 1., 1.,
                             1., 1., 0.99063516, 0.9749727, 0.9906352,
                             1., 1., 1., 1., 1.,
                             1.],
                            [1., 1., 1., 1., 1.,
                             1., 1., 0.925027, 0.8928496, 0.97501993,
                             0.98124087, 0.98333865, 1., 1., 1.,
                             1.],
                            [1., 1., 1., 1., 1.,
                             1., 0.9656823, 0.85706997, 0.85357404, 0.94645137,
                             0.914257, 0.9785683, 1., 1., 1.,
                             1.],
                            [1., 1., 1., 1., 1.,
                             1., 0.8750242, 0.7342866, 0.8249884, 0.8357326,
                             0.82143855, 0.95714056, 0.9964327, 0.99165744, 0.99687916,
                             1.],
                            [1., 1., 1., 1., 1.,
                             1., 0.7427836, 0.6535563, 0.7571738, 0.7416168,
                             0.7785969, 0.9143075, 0.93930656, 0.94643617, 1.,
                             1.],
                            [1., 1., 1., 1., 1.,
                             0.8084448, 0.54989666, 0.5964433, 0.635748, 0.6214154,
                             0.75001293, 0.865674, 0.86780787, 0.92500734, 0.9999998,
                             1.],
                            [1., 1., 1., 1., 1.,
                             0.6285439, 0.4250115, 0.54067385, 0.53924006, 0.5785734,
                             0.7214242, 0.76076466, 0.77182573, 0.89998436, 0.9857292,
                             0.9678405],
                            [1., 1., 1., 1., 0.8892973,
                             0.3784754, 0.39642212, 0.4357636, 0.43432307, 0.5499803,
                             0.6785786, 0.66782314, 0.7249778, 0.8713986, 0.90838754,
                             0.8928258],
                            [1., 1., 1., 1., 0.5749629,
                             0.22498342, 0.35358062, 0.33925533, 0.37854972, 0.52139956,
                             0.55838925, 0.55354095, 0.6714352, 0.8285544, 0.81427413,
                             0.8249959],
                            [1., 1., 1., 0.86079824, 0.20708394,
                             0.1964008, 0.23338628, 0.21782565, 0.32143497, 0.47855353,
                             0.46783853, 0.491665, 0.6285882, 0.7321714, 0.69282603,
                             0.7964047],
                            [1., 1., 1., 0.53926426, -0.00355892,
                             0.15355894, 0.13927072, 0.15, 0.27859217, 0.3821725,
                             0.35353702, 0.47140762, 0.6, 0.61072946, 0.5964409,
                             0.7535591],
                            [1., 1., 0.83232874, 0.24971321, -0.04640056,
                             0.05717346, 0.0178287, 0.12141386, 0.25000718, 0.26072794,
                             0.26073664, 0.42856324, 0.5321751, 0.51661456, 0.55359554,
                             0.70001316],
                            [1., 1., 0.45370185, -0.20357664, -0.04645994,
                             -0.06427596, -0.07854619, 0.07857066, 0.18217608, 0.17494299,
                             0.22503543, 0.3714491, 0.4107531, 0.39641348, 0.52500623,
                             0.6643123],
                            [1., 0.8283609, 0.22814026, -0.2464246, -0.14282902,
                             -0.1821742, -0.10000541, 0.02145228, 0.06074312, 0.06070259,
                             0.20001023, 0.32859826, 0.31423944, 0.35356173, 0.49997535,
                             0.5500551],
                            [1., 0.3681867, -0.40360045, -0.27501348, -0.26426324,
                             -0.27857268, -0.121457, -0.03432247, -0.03219428, 0.02500261,
                             0.17141773, 0.20838068, 0.19282457, 0.29644594, 0.46427202,
                             0.46426803],
                            [1., 0.11397797, -0.44644284, -0.34282553, -0.3583821,
                             -0.32141602, -0.17856966, -0.1392356, -0.1281777, -0.02854284,
                             0.12857245, 0.11426295, 0.12501198, 0.25359964, 0.3714651,
                             0.34282672]], dtype=np.float32)

out_sdf_chunk = np.array([[-4.32066582e-02, 2.74926401e-03, 8.11256394e-02,
                           1.63633361e-01, 2.26405248e-01, 3.13018978e-01,
                           4.04173851e-01, 4.73608047e-01, 5.57035923e-01,
                           6.48821115e-01, 7.18736589e-01, 8.06985736e-01,
                           9.09396172e-01, 9.76360500e-01, 1.00000000e+00,
                           1.00000000e+00],
                          [-1.25831351e-01, -6.24693893e-02, 1.36919310e-02,
                           9.30115506e-02, 1.61301330e-01, 2.48676524e-01,
                           3.37135762e-01, 4.00155008e-01, 4.88671631e-01,
                           5.80373347e-01, 6.43460393e-01, 7.39816546e-01,
                           8.34715307e-01, 8.99279773e-01, 1.00000000e+00,
                           1.00000000e+00],
                          [-2.05495939e-01, -1.29737690e-01, -5.19432090e-02,
                           1.57035869e-02, 9.77754518e-02, 1.82159975e-01,
                           2.58755654e-01, 3.34479630e-01, 4.21953171e-01,
                           5.01806259e-01, 5.77492952e-01, 6.73295498e-01,
                           7.54420400e-01, 8.34533513e-01, 9.39070344e-01,
                           1.00000000e+00],
                          [-2.72524327e-01, -1.98250249e-01, -1.18780874e-01,
                           -5.42521439e-02, 3.04304045e-02, 1.18379287e-01,
                           1.80465713e-01, 2.67021328e-01, 3.55652690e-01,
                           4.21819061e-01, 5.11662602e-01, 6.06529355e-01,
                           6.72955751e-01, 7.66514957e-01, 8.68555844e-01,
                           9.37688291e-01],
                          [-3.39726329e-01, -2.67041445e-01, -1.94305167e-01,
                           -1.19226418e-01, -3.52352820e-02, 4.45403121e-02,
                           1.13796435e-01, 1.95741639e-01, 2.83540756e-01,
                           3.48336965e-01, 4.41703916e-01, 5.32977223e-01,
                           5.96774340e-01, 6.97313964e-01, 7.92871356e-01,
                           8.63176525e-01],
                          [-4.11362916e-01, -3.31681192e-01, -2.68949538e-01,
                           -1.84913710e-01, -1.02952115e-01, -3.26871835e-02,
                           4.34972309e-02, 1.28696099e-01, 2.04271808e-01,
                           2.79477954e-01, 3.74989182e-01, 4.50999260e-01,
                           5.29769003e-01, 6.31151319e-01, 7.08918989e-01,
                           7.94991076e-01],
                          [-4.79145318e-01, -4.04702842e-01, -3.33899975e-01,
                           -2.52534419e-01, -1.70852974e-01, -1.07139342e-01,
                           -2.51613539e-02, 6.11558519e-02, 1.24452256e-01,
                           2.09766611e-01, 3.05600435e-01, 3.70586634e-01,
                           4.60844457e-01, 5.60858786e-01, 6.27871573e-01,
                           7.27766693e-01],
                          [-5.47271192e-01, -4.80512500e-01, -4.01464820e-01,
                           -3.24120343e-01, -2.45234355e-01, -1.75395593e-01,
                           -9.64350924e-02, -1.12436702e-02, 5.17226718e-02,
                           1.42122045e-01, 2.32804552e-01, 2.92963505e-01,
                           3.88762325e-01, 4.85130370e-01, 5.52298844e-01,
                           6.57012284e-01],
                          [-6.15211546e-01, -5.49504876e-01, -4.69493091e-01,
                           -3.90620500e-01, -3.25921893e-01, -2.44490042e-01,
                           -1.65785089e-01, -9.24542472e-02, -1.31629398e-02,
                           7.03602955e-02, 1.50912985e-01, 2.27181599e-01,
                           3.20111185e-01, 4.02043730e-01, 4.85380709e-01,
                           5.87107182e-01],
                          [-6.91301346e-01, -6.15378439e-01, -5.39988220e-01,
                           -4.61404741e-01, -3.93990397e-01, -3.17750841e-01,
                           -2.35451743e-01, -1.70310572e-01, -8.57636258e-02,
                           6.02006854e-04, 6.82540163e-02, 1.56164899e-01,
                           2.49683842e-01, 3.18872899e-01, 4.12994593e-01,
                           5.15055597e-01],
                          [-7.61888862e-01, -6.84125662e-01, -6.09868705e-01,
                           -5.39477885e-01, -4.65424329e-01, -3.88621509e-01,
                           -3.08164179e-01, -2.41032228e-01, -1.57871082e-01,
                           -7.12938532e-02, -7.19502522e-03, 8.38518068e-02,
                           1.78555384e-01, 2.40488335e-01, 3.40718746e-01,
                           4.35315043e-01],
                          [-8.29338968e-01, -7.57085502e-01, -6.82125926e-01,
                           -6.13450229e-01, -5.33756554e-01, -4.60511416e-01,
                           -3.89165401e-01, -3.12331289e-01, -2.30199829e-01,
                           -1.49815515e-01, -7.72178099e-02, 9.34526231e-03,
                           9.50962231e-02, 1.69905260e-01, 2.68978596e-01,
                           3.52090567e-01],
                          [-8.98408830e-01, -8.28362942e-01, -7.53439903e-01,
                           -6.83240533e-01, -6.09945476e-01, -5.31212211e-01,
                           -4.67230350e-01, -3.83387476e-01, -2.99160153e-01,
                           -2.31773391e-01, -1.49033949e-01, -6.07132874e-02,
                           1.33611253e-02, 9.97409150e-02, 1.96009114e-01,
                           2.65672773e-01],
                          [-9.71124232e-01, -8.99457872e-01, -8.30979586e-01,
                           -7.54699051e-01, -6.83250964e-01, -6.04803085e-01,
                           -5.35658717e-01, -4.56399441e-01, -3.71691555e-01,
                           -3.10049176e-01, -2.22174063e-01, -1.30916372e-01,
                           -6.74158260e-02, 2.81728785e-02, 1.24010436e-01,
                           1.84369072e-01],
                          [-1.00000000e+00, -9.69013512e-01, -9.01144683e-01,
                           -8.27760220e-01, -7.53714859e-01, -6.85698509e-01,
                           -6.08596146e-01, -5.28097093e-01, -4.52326208e-01,
                           -3.81290138e-01, -2.95989931e-01, -2.10537747e-01,
                           -1.41675010e-01, -4.70943712e-02, 4.11465727e-02,
                           1.06769048e-01],
                          [-1.00000000e+00, -1.00000000e+00, -9.71983314e-01,
                           -9.02536452e-01, -8.25098097e-01, -7.62062490e-01,
                           -6.82501435e-01, -6.03317440e-01, -5.35545468e-01,
                           -4.55328047e-01, -3.68340284e-01, -2.91703612e-01,
                           -2.11811796e-01, -1.19078152e-01, -4.31880318e-02,
                           3.55876945e-02]], dtype=np.float32)

sdf_3d_slice01 = np.array([[[-0.20475684, -0.2718329, -0.33940297, -0.41053814,
                             -0.47973615, -0.54754835, -0.6144799, -0.69139594,
                             -0.76291186, -0.82926893, -0.8988074, -0.97098565,
                             -1., -1., -1., -1.]],

                           [[-0.13041718, -0.19898264, -0.26726198, -0.33195686,
                             -0.40533316, -0.48085, -0.54812276, -0.61513406,
                             -0.6857901, -0.7568284, -0.8265122, -0.89905554,
                             -0.96868193, -1., -1., -1.]],

                           [[-0.05159303, -0.11795311, -0.19352509, -0.26949567,
                             -0.3329001, -0.40127334, -0.4697546, -0.5401842,
                             -0.6103374, -0.6821744, -0.7519416, -0.8297361,
                             -0.9008161, -0.97198033, -1., -1.]],

                           [[0.01631528, -0.05366355, -0.11860802, -0.18563195,
                             -0.25372428, -0.32249835, -0.3909312, -0.4608303,
                             -0.5386583, -0.6148077, -0.6832592, -0.7546924,
                             -0.82786226, -0.9039304, -0.9779266, -1.]],

                           [[0.09734481, 0.03163889, -0.0351347, -0.10349526,
                             -0.17178132, -0.24583338, -0.32430065, -0.3944121,
                             -0.46513748, -0.5358427, -0.60939413, -0.68361086,
                             -0.7554948, -0.8274629, -0.9029112, -0.98226213]],

                           [[0.18223374, 0.11868029, 0.04477277, -0.03297701,
                             -0.10733827, -0.17565785, -0.2446696, -0.31756383,
                             -0.38871688, -0.45973283, -0.5306705, -0.6053954,
                             -0.68548465, -0.7603347, -0.832349, -0.90591604]],

                           [[0.25901046, 0.18068849, 0.11306702, 0.04537329,
                             -0.0254929, -0.09573101, -0.16611888, -0.23505314,
                             -0.30887496, -0.38855296, -0.46718267, -0.53770316,
                             -0.607904, -0.6806403, -0.75637394, -0.83188707]],

                           [[0.3345288, 0.2674229, 0.19761248, 0.12810154,
                             0.06117373, -0.01198053, -0.09179189, -0.17100646,
                             -0.2414055, -0.3113508, -0.38460863, -0.45659837,
                             -0.5285464, -0.60253733, -0.6757326, -0.75543445]],

                           [[0.4215054, 0.35445613, 0.28388125, 0.20457803,
                             0.12537389, 0.05252584, -0.01491904, -0.08574425,
                             -0.15761329, -0.22937803, -0.30043197, -0.37168336,
                             -0.45156848, -0.5349218, -0.6126381, -0.68388426]],

                           [[0.5017995, 0.42136607, 0.34753007, 0.28029305,
                             0.21193548, 0.14263166, 0.07018074, 0.00108704,
                             -0.06929486, -0.15131308, -0.23241787, -0.31055582,
                             -0.38096604, -0.45473945, -0.52764934, -0.60274744]],

                           [[0.57773066, 0.51035875, 0.44209582, 0.3743246,
                             0.30558106, 0.23218466, 0.15120803, 0.06889998,
                             -0.00930652, -0.07774457, -0.14970823, -0.22116004,
                             -0.2947412, -0.37067902, -0.44117716, -0.51609796]],

                           [[0.67372465, 0.6072543, 0.5338877, 0.4515655,
                             0.37155968, 0.29368994, 0.22628976, 0.1552522,
                             0.08366852, 0.00998154, -0.06056577, -0.1305498,
                             -0.20934565, -0.29290763, -0.37548465, -0.45198423]],

                           [[0.7540442, 0.6730221, 0.59785986, 0.529439,
                             0.46049577, 0.3898285, 0.3201082, 0.24996398,
                             0.17710625, 0.09599998, 0.01350045, -0.06811767,
                             -0.14037861, -0.21186395, -0.28660965, -0.3620803]],

                           [[0.8337743, 0.76607686, 0.69736683, 0.6300881,
                             0.56024337, 0.484772, 0.40280667, 0.31985265,
                             0.24074091, 0.17126425, 0.09886324, 0.02796873,
                             -0.04654675, -0.12094676, -0.19398032, -0.27120334]],

                           [[0.9401298, 0.8696056, 0.7920019, 0.7094442,
                             0.6278216, 0.5527272, 0.48454177, 0.41284856,
                             0.34142134, 0.26991662, 0.19591151, 0.12376829,
                             0.04146173, -0.04442408, -0.12813507, -0.20937918]],

                           [[1., 0.9367048, 0.86319065, 0.7964156,
                             0.72762364, 0.6566673, 0.58679205, 0.5157612,
                             0.43653396, 0.35248694, 0.26573387, 0.18438174,
                             0.10772794, 0.03523007, -0.03899559, -0.11253878]]],
                          dtype=np.float32)

sdf_3d_slice02 = np.array([[[-0.15828474, -0.2258139, -0.31726792, -0.41854447,
                             -0.51883006, -0.6033763, -0.645462, -0.6869416,
                             -0.72327024, -0.7763358, -0.8644161, -0.96556437,
                             -1., -1., -1., -1.]],

                           [[-0.11724376, -0.2199551, -0.31567535, -0.3823676,
                             -0.42022684, -0.4579158, -0.49682447, -0.5688098,
                             -0.66508883, -0.7674736, -0.8672254, -0.9566214,
                             -1., -1., -1., -1.]],

                           [[-0.10635137, -0.15794252, -0.19318739, -0.23076715,
                             -0.28082898, -0.3659076, -0.46659848, -0.5686373,
                             -0.661359, -0.7283486, -0.7708329, -0.8115571,
                             -0.85546386, -0.92087454, -1., -1.]],

                           [[0.0347948, -0.00265987, -0.07427778, -0.16607293,
                             -0.26674107, -0.36507088, -0.44712663, -0.49458835,
                             -0.52946675, -0.57718, -0.6276073, -0.71163124,
                             -0.81321603, -0.9182008, -1., -1.]],

                           [[0.13013457, 0.03356163, -0.06489212, -0.15566197,
                             -0.21839245, -0.2567028, -0.29905558, -0.3414111,
                             -0.41768035, -0.51306856, -0.6174873, -0.7212831,
                             -0.81221074, -0.87941104, -0.9208766, -0.9690759]],

                           [[0.13970095, 0.06181556, 0.01729878, -0.01788376,
                             -0.05833106, -0.12278296, -0.21631671, -0.31428707,
                             -0.41714862, -0.514597, -0.5900806, -0.6320864,
                             -0.6737332, -0.7177957, -0.7725691, -0.8593376]],

                           [[0.2607098, 0.22034676, 0.16743435, 0.082306,
                             -0.01604484, -0.11890986, -0.21445934, -0.29624635,
                             -0.34437734, -0.38262054, -0.4260473, -0.47746128,
                             -0.5629941, -0.661619, -0.7679372, -0.8730626]],

                           [[0.37702486, 0.28386486, 0.18366536, 0.08623048,
                             0.00105352, -0.05184137, -0.0931825, -0.13149002,
                             -0.18377991, -0.26476237, -0.36359546, -0.46737003,
                             -0.57266414, -0.6644632, -0.7299541, -0.77391493]],

                           [[0.38655585, 0.29687205, 0.23672199, 0.19767742,
                             0.16258742, 0.11196412, 0.02886167, -0.063048,
                             -0.16648252, -0.26809445, -0.3600693, -0.42747727,
                             -0.47133508, -0.51623654, -0.5587841, -0.6238807]],

                           [[0.4914882, 0.4515414, 0.40936098, 0.32805297,
                             0.23426425, 0.13258268, 0.0339981, -0.05861344,
                             -0.12047808, -0.16572699, -0.20942566, -0.2539534,
                             -0.32217124, -0.41769585, -0.519628, -0.6228114]],

                           [[0.6236901, 0.533245, 0.43442923, 0.33478448,
                             0.24564722, 0.17926085, 0.13835897, 0.09790006,
                             0.05118029, -0.02654833, -0.12119135, -0.21941717,
                             -0.32374653, -0.42159325, -0.5087995, -0.56681186]],

                           [[0.63738084, 0.54962367, 0.48488897, 0.44285813,
                             0.40389, 0.3554237, 0.27350315, 0.17983738,
                             0.07906744, -0.02175728, -0.1146424, -0.19709189,
                             -0.2472215, -0.28783286, -0.3345998, -0.38827598]],

                           [[0.7511944, 0.7096594, 0.65332645, 0.5730631,
                             0.47854367, 0.37924826, 0.28232044, 0.18881369,
                             0.11693326, 0.07301583, 0.0320527, -0.01466543,
                             -0.07647318, -0.16332234, -0.2650984, -0.36741194]],

                           [[0.8743434, 0.7776409, 0.67893976, 0.5839522,
                             0.49812043, 0.4338902, 0.3953811, 0.35134864,
                             0.30343905, 0.22863467, 0.13398415, 0.03628113,
                             -0.06676186, -0.167712, -0.25806686, -0.32917243]],

                           [[0.89005965, 0.8098362, 0.75372607, 0.7176227,
                             0.6721107, 0.6157429, 0.5281225, 0.43510342,
                             0.3356216, 0.23383684, 0.14114645, 0.05920541,
                             0.00130505, -0.03794361, -0.09272385, -0.14534502]],

                           [[1., 0.9918554, 0.92021626, 0.830434,
                             0.73466957, 0.63608646, 0.54116374, 0.45342973,
                             0.38579437, 0.3388197, 0.2985325, 0.23854096,
                             0.16856915, 0.0806923, -0.019745, -0.12005218]]],
                          dtype=np.float32)

#  ================================================================ #  Created by <NAME> on 1/31/19. #  Copyright (c) 2019 <NAME> #  Licensed under the Apache License, Version 2.0 (the "License"); #  you may not use this file except in compliance with the License. #  You may obtain a copy of the License at # #  http://www.apache.org/licenses/LICENSE-2.0 # #  Unless required by applicable law or agreed to in writing, software #  distributed under the License is distributed on an "AS IS" BASIS, #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #  See the License for the specific language governing permissions and #  limitations under the License. #  ================================================================