xhorizon.evap.evap module

This module provides method for making forming and evaporation BH diagrams. This module imports the entire xhorizon package. It is meant for a higher level usage than the other subpackages, none of the guts of xhorizon rely on this.

xhorizon.evap.evap.funclist_chain(funclist, seed=0, du=None, dv=None, r0p=None, r0f=None, u0=None, v0=None, ps_matchmode=None, fs_matchmode=None)

Create a chain of matched regions, starting at seed region which is unmodified. Each region except ends has two slices through it, a future slice fslice and past slice pslice. Each fslice and pslice can be either active or passive, but there can only be one active slice per region. The index i refers to each region in the sequence for all variables.

Inputs:

funclist = list of func objects, in order, to chain together seed = index value for seed region (seed region has trivial transforms to target coords) du = list of du values so that du[i] will always be size of region[i] dv = list of du values so that du[i] will always be size of region[i] r0p = list of r0 values for past slice so that r0p will always be ps_r0 when pslice is active r0f = list of r0 values for future slice so that r0f will always be fs_r0 when fslice is active u0 = list of offset values for range of u values in slice, defaults to zero v0 = list of offset values for range of v values in slice, defaults to zero ps_matchmode = list of strings, each either ‘ru’ or ‘rv’, to determine how past slice is sliced when pslice is active ps_matchmode = list of strings, each either ‘ru’ or ‘rv’, to determine how future slice is sliced when fslice is active

xhorizon.evap.evap.chain_masker(reglist, chainparams)
xhorizon.evap.evap.shellparams_list(Rmax=1.0, le=0.1, Nevap=5, Tevap=10.0, Tacc=1.0, Naccrete=1, functype=<function schwarzschild>, fparams={})
xhorizon.evap.evap.cp_from_fdudv(funclist, du=None, dv=None, le=None, uoff=0.0, voff=0.0, ueta=1.0, veta=1.0)
xhorizon.evap.evap.formevap_input(Rmax=1.0, le=0.01, Tevap=1.0, Tacc=1.0, Nevap=5, Naccrete=5, uoff=0.0, voff=0.0, ueta=1.0, veta=1.0, functype0=<function minkowski>, fparams0={}, functype1=<function schwarzschild>, fparams1={})

Build inputs in reverse order starting from far future.

funclist, seed=0, du=None, dv=None, r0p=None, r0f=None, u0=None, v0=None, ps_matchmode=None, fs_matchmode=None

xhorizon.evap.evap.create_evap(params, seed=0)

Takes input parameters of the form:

xhorizon.evap.evap.evapsave(path='temp/temp', params=None, chainparams=None, seed=None, sfp={}, temp_only=False, massplot=False)

Save figure with timestamp and txt notes.