diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-01-08 11:11:24 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-01-08 11:11:46 +0100 |
commit | 9ebde005aa7ddee8ffe855f93601fecc33690f8c (patch) | |
tree | 7e6dfc829b475b9086a5c28524f3ec832091fa16 | |
parent | 5e1e43c9f0d8b488d0f1b5c4b85862e628a4f762 (diff) |
null: document integrate_times parameter of null_geodesics()
-rw-r--r-- | null.py | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -170,8 +170,8 @@ def null_geodesics(times, X, gXX, gtt, """ Compute null geodesics along a axis, assuming zero shift. - For every coordinate time times[i], integrate a null geodesic from - (t=times[i], x=0) forward and backward in time. + For every coordinate time integrate_times[i], integrate a null geodesic from + (t=integrate_times[i], x=0) forward and backward in time. :param array_like times: 1D array of coordinate times at which gXX and gtt are provided, must be uniform @@ -192,6 +192,9 @@ def null_geodesics(times, X, gXX, gtt, Defaults to 1.0 for each geodesic if not supplied. :param int interp_order: order of the Lagrange interpolation used for gXX and gtt. + :param array_like integrate_times: 1D array of coordinate times from which + each geodesic will be integrated; or to put it differntly, of coordinate + times at which each geodesic hits X=0. :return: A len(times)-sized list of scipy.integrate.OdeSolution, each describing the null geodesic shot from the corresponding coordinate |