xhorizon.evap.helpers module
This module contains helpers to help with evap code.
- xhorizon.evap.helpers.get_rinf_uv0(reglist, v0=[])
Given a list of regions, assume that `outermost’ region has index [-1]. Assume r->inf as u->-inf. Find the r0 value corresponding to (v=v0 and u=2.*s0) in each region. Take minimum r0 over reglist. Return a value slightly less than r0.
- xhorizon.evap.helpers.UVcompose1(reg, fU=None, fV=None)
Take the final UV coords for region and compose with a function in each null direction.
- xhorizon.evap.helpers.UVcompose(reglist, fU=None, fV=None)
Take the final UV coords for region and compose with a function in each null direction. Takes list input.
- xhorizon.evap.helpers.get_uvdl_of_UV(reg)
Get current udl_of_U and vdl_of_V for a region by evaluation and interpolation.
- xhorizon.evap.helpers.rgp(reglist)
Plot all regions in reglist.
- xhorizon.evap.helpers.boundarylines(reglist, npoints=5001, sty={})
Add boundary lines to regions in reglist.
- xhorizon.evap.helpers.colorlines(reglist, rmin=0.05, rmax=5.0, dr=0.2, 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.helpers.s0_lines(reglist, sty={}, npoints=1001, inf=50.0, eps=1e-24)
- xhorizon.evap.helpers.uv_lines(reglist, uv='uv', sty={}, npoints=1001, inf=50.0, eps=1e-24)
- xhorizon.evap.helpers.fillcols_by_R(reglist)
Get fill color values based on radius.
- xhorizon.evap.helpers.alphas_by_R_2(reglist, amax=0.9)
Get fill color values based on radius.
- xhorizon.evap.helpers.fill_by_R(reglist, cm=<matplotlib.colors.LinearSegmentedColormap object>)
- xhorizon.evap.helpers.fill_by_R_2(reglist, col='r', amax=0.9)
- xhorizon.evap.helpers.evaporation_input_good(R, du, dv)
- xhorizon.evap.helpers.check_uvr(reglist)
- xhorizon.evap.helpers.getmm(reglist)
- xhorizon.evap.helpers.split_reg_abcd(reg, abcd='abcd', u0=0.0, v0=0.0)
- xhorizon.evap.helpers.sliceprint(pslice, aslice, Rh1, Rh2)
- xhorizon.evap.helpers.mp(matchmode)