Commit c75afb6f authored by Martin Reinecke's avatar Martin Reinecke
Browse files

more documentation

parent ee4edc77
Pipeline #28193 passed with stage
in 2 minutes and 23 seconds
......@@ -55,7 +55,7 @@ def _comp_traverse(start, end, shp, dist, lo, mid, hi, erf):
if dir[j] != 0:
step = inc[j] if dir[j] > 0 else -inc[j]
tmp = np.arange(start=c_first[j], stop=dmax,
cdist = np.append(cdist, tmp)
add = np.append(add, np.full(len(tmp), step))
idx = np.argsort(cdist)
......@@ -103,6 +103,12 @@ class LOSResponse(LinearOperator):
and indicated the total number of lines of sight.
sigmas_low, sigmas_up : numpy.ndarray(float) (optional)
For expert use. If unsure, leave blank.
`starts, `ends`, `sigmas_low`, and `sigmas_up` have to be identical on
every calling MPI task (i.e. the full LOS information has to be provided on
every task).
def __init__(self, domain, starts, ends, sigmas_low=None, sigmas_up=None):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment