Post-Processing
sigmoid_falloff_jax(u, amplitude, width)
Applies a sigmoid to the scalar (Signed Distance Function) field.
| Parameters: |
|
|---|
| Returns: |
|
|---|
positive_sigmoid_falloff_jax(u, amplitude, width)
Applies a sigmoid, shifted to the positive values by the value of the width parameter, to the scalar (Signed Distance Function) field.
| Parameters: |
|
|---|
| Returns: |
|
|---|
capped_exponential_jax(u, amplitude, width)
Applies a decreasing exponential functon to the scalar (Signed Distance Function) field.
| Parameters: |
|
|---|
| Returns: |
|
|---|
hard_binarization_jax(u, threshold)
Binarizes the Signed Distance field/pattern based on a threshold. Values below the threshold are 1 and values above are 0.
| Parameters: |
|
|---|
| Returns: |
|
|---|
linear_falloff_jax(u, amplitude, width)
Applies a decreasing linear function to the scalar (Signed Distance Function) field.
| Parameters: |
|
|---|
| Returns: |
|
|---|
relu_jax(u, width=1)
Applies the ReLU function to the scalar (Signed Distance Function) field.
| Parameters: |
|
|---|
| Returns: |
|
|---|
smooth_relu_jax(u, smooth_width, width=1, threshold=0.01)
Applies the "squareplus" function to the scalar (Signed Distance Function) field. https://en.wikipedia.org/wiki/Rectifier_(neural_networks)
| Parameters: |
|
|---|
| Returns: |
|
|---|
slowstart_jax(u, smooth_width, width=1, threshold=0.01, ground=True)
Applies the SlowStart function to the scalar (Signed Distance Function) field.
| Parameters: |
|
|---|
| Returns: |
|
|---|
gaussian_boundary_jax(u, amplitude, width)
Applies the Gaussian to the scalar (Signed Distance Function) field.
| Parameters: |
|
|---|
| Returns: |
|
|---|
gaussian_falloff_jax(u, amplitude, width)
Applies the Gaussian to the positive values of the scalar (Signed Distance Function) field.
| Parameters: |
|
|---|
| Returns: |
|
|---|
conv_multiple_jax(u, filter_kernel, iterations)
Averages the field using an averaging convolutional kernel of the specified size.
| Parameters: |
|
|---|
| Returns: |
|
|---|
conv_edge_detection_jax(u)
Edge detection with a 3x3 convolutional kernel.
| Parameters: |
|
|---|
| Returns: |
|
|---|