tidy3d.plugins.adjoint.utils.penalty.RadiusPenalty#

class RadiusPenalty[source]#

Bases: Penalty

Generates a penalty for radius of curvature of set of points.

Parameters:
  • min_radius (Attribute: min_radius) –

    Type

    float

    Default

    = 0.15

  • alpha (Attribute: alpha) –

    Type

    float

    Default

    = 1.0

  • kappa (Attribute: kappa) –

    Type

    float

    Default

    = 10.0

  • wrap (Attribute: wrap) –

    Type

    bool

    Default

    = False

Attributes

Methods

evaluate(points)

Get the penalty as a function of supplied (x, y) points.

min_radius#
alpha#
kappa#
wrap#
evaluate(points)[source]#

Get the penalty as a function of supplied (x, y) points.

__hash__()#

Hash method.