conformalMaps package

Submodules

conformalMaps.grids module

class conformalMaps.grids.Circle(w=None, r=1, fine=50, cticks=5, rticks=10, x0=0, y0=0)[source]

Bases: Donut

updateFunc(w=None, r=None, fine=None, cticks=None, rticks=None, x0=None, y0=None, frame=None, scale=100)[source]
class conformalMaps.grids.Donut(w=None, rin=1, rout=2, fine=50, cticks=5, rticks=10, x0=0, y0=0)[source]

Bases: Rectangle

anim(w, rin, rout, cticks, rticks, x0, y0, fine, frame, scale=100)[source]
create_traces(transformed_mat)[source]
gen_coordinate_grid(rin=None, rout=None, fine=None, cticks=None, rticks=None, x0=None, y0=None)[source]
init_plotly(w, rin, rout, fine, cticks, rticks, x0, y0)[source]
matrix_generator(w, rin, rout, fine, cticks, rticks, x0, y0)[source]
plugin(w, X, Y)[source]
updateFunc(w=None, rin=None, rout=None, fine=None, cticks=None, rticks=None, x0=None, y0=None, frame=None, scale=100)[source]
class conformalMaps.grids.Rectangle(left=-1, right=1, top=1, bottom=-1, fine=50, Hticks=10, Vticks=10, w=None)[source]

Bases: object

add_new_data_to_traces(transformed_mat)[source]
anim(w, left, right, top, bottom, fine, Hticks, Vticks, frame, scale=100)[source]
check_analytic(w=None, silent=False)[source]
create_traces(transformed_mat)[source]
evaluate(w)[source]
gen_coordinate_grid(left=None, right=None, top=None, bottom=None, fine=None, Hticks=None, Vticks=None)[source]
init_plotly(left, right, top, bottom, fine, Hticks, Vticks, w)[source]
matrix_generator(left, right, top, bottom, fine, Hticks, Vticks, w)[source]
over_write_traces(transformed_mat)[source]
plugin(w, X, Y)[source]
show()[source]
updateFunc(w=None, left=None, right=None, top=None, bottom=None, fine=None, Hticks=None, Vticks=None, frame=None, scale=100)[source]
w_numeric(w)[source]
class conformalMaps.grids.Single_circle(w=None, r=1, fine=50, rticks=0, x0=0, y0=0)[source]

Bases: Circle

updateFunc(w=None, r=None, rticks=None, x0=None, y0=None, frame=None)[source]
class conformalMaps.grids.Square(side=1, fine=50, Hticks=10, Vticks=10, w=None)[source]

Bases: Rectangle

updateFunc(w=None, side=None, fine=None, Hticks=None, Vticks=None, frame=None, scale=100)[source]

conformalMaps.mappings module

class conformalMaps.mappings.ConcentricAnnulusToEccentricAnnulus(R1, R2, epsilon)[source]

Bases: object

This class permits to easily create and map a concentric annulus to a specific excentric elliptical annulus. Theory in Lauer-Bare and Gaertig 2021 (scipy) and Brown and Churchil.

mapping(z)[source]
Parameters:

z (Symbolic complex variable) –

Returns:

  • value (Returns a complex variable function that maps the concetric)

  • annulus with inner radius 1 an outer radius ‘outerRadius’ to

  • a eccentric annulus with radii R1 (inner), R2 (outer) and

  • relative eccentricity

  • epsilon.

newRadii()[source]
class conformalMaps.mappings.RectangleToEccentricAnnulus(R1, R2, epsilon)[source]

Bases: object

This class permits to easily create and map a rectangle to a specific eccentric annulus.

bipolarConstants()[source]
Returns:

  • alpha (Value of bottom boundary of rectangle.)

  • beta (Value of top boundary of rectangle.)

  • yShift1 (shift of to center the outer radius at origin)

  • cNum (pole of corresponding bipolar coordinate system)

mapping(z)[source]
Parameters:

z (Symbolic complex variable) –

Returns:

value

Return type:

Symbolic function, that mapps the specific rectangle to the target eccentric annulus

class conformalMaps.mappings.RectangleToEllipticAnnulus(b, a)[source]

Bases: object

This class permits to easily create and map a rectangle to a specific concentric elliptical annulus.

mapping(z)[source]
Parameters:

z (Symbolic complex variable) –

Returns:

  • value (Returns a complex variable function that maps the rectangle)

  • [left, right] x [-pi, pi] to an elliptic annulus where half axes are

  • b and a.

Module contents