xhorizon.evap.draw_dS module

This module contains helpers to draw with evap code.

xhorizon.evap.draw_dS.drawreg(reglist, chainparams, fparams={})

Plot all regions in reglist.

xhorizon.evap.draw_dS.rline_zero(reglist, npoints=5001, inf=100.0, sty={}, sty2={})

Add boundary lines to regions in reglist.

xhorizon.evap.draw_dS.rline_inf_col(reglist, npoints=5001, inf=100.0, sty={}, M=0.5)

Add boundary lines to regions in reglist.

xhorizon.evap.draw_dS.rline_hor(reglist, npoints=5001, sty={})

Add horizon lines to regions in reglist.

xhorizon.evap.draw_dS.shell_col(x)
xhorizon.evap.draw_dS.acc_shells(reglist, chainparams, sty={}, inf=50.0, npoints=5001)

Add boundary lines to regions in reglist.

xhorizon.evap.draw_dS.evap_shells_out(reglist, chainparams, sty={}, inf=100.0, npoints=5001)

Add boundary lines to regions in reglist.

xhorizon.evap.draw_dS.evap_shells_in(reglist, chainparams, sty={}, inf=5.0, npoints=5001)

Add boundary lines to regions in reglist.

xhorizon.evap.draw_dS.fill_horizons(reglist, sty={})
xhorizon.evap.draw_dS.fill_density(reglist, sty={})
xhorizon.evap.draw_dS.dstyle(rho, cm=<matplotlib.colors.LinearSegmentedColormap object>, sty={}, ovr={})

Density rho in (0,1), output fill style. Since all Hayward have same l, all regions same scale.

xhorizon.evap.draw_dS.make_rlines(reglist, chainparams, l=0.05, R=1.0, Tevap=None, sty={})
xhorizon.evap.draw_dS.vticks(reglist, dv=1.0, inf1=100.0, inf2=50.42993724102442, sty={})

Remainder lets dv carry across regions.

xhorizon.evap.draw_dS.uticks(reglist, du=1.0, inf1=100.0, inf2=50.42993724102442, sty={})

Remainder lets dv carry across regions.

xhorizon.evap.draw_dS.tticks(reglist, dt=1.0, inf1=1.0, inf2=50.42993724102442, sty={})

Remainder lets dt carry across regions.

class xhorizon.evap.draw_dS.CustomHatch(hatch, density)

Bases: matplotlib.hatch.SmallFilledCircles

size = 0.1
filled = True
xhorizon.evap.draw_dS.rlines(reglist, rvals, sty={}, npoints=2001, inf=25.0)

Add colorscaled lines of constant radius to region. Useful to check for matching.

xhorizon.evap.draw_dS.colorlines(reglist, rmin=1.1, rmax=25.0, dr=0.5, sty={}, cm=<matplotlib.colors.LinearSegmentedColormap object>, npoints=2001, inf=25.0)

Add colorscaled lines of constant radius to region. Useful to check for matching.

xhorizon.evap.draw_dS.s0_lines(reglist, sty={}, npoints=1001, inf=50.0, eps=1e-24)