Skip to content

Commit

Permalink
Passing back additional values from uvw_track_generator
Browse files Browse the repository at this point in the history
  • Loading branch information
kartographer committed Sep 21, 2023
1 parent e9f2eb0 commit bda36ae
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pyuvdata/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3894,7 +3894,6 @@ def get_lst_for_time(
TimeClass = LTime

times = TimeClass(jd, format="jd", scale="utc", location=site_loc)
times.shape

if iers.conf.auto_max_age is None: # pragma: no cover
delta, status = times.get_delta_ut1_utc(return_status=True)
Expand Down Expand Up @@ -4191,7 +4190,14 @@ def uvw_track_generator(
mask = (uvws[:, 0] < 0.0) | ((uvws[:, 0] == 0.0) & (uvws[:, 1] < 0.0))
uvws[mask, :] *= -1.0

return {"uvw": uvws}
return {
"uvw": uvws,
"app_ra": app_ra,
"app_dec": app_dec,
"frame_pa": frame_pa,
"lst": lst_array,
"site_loc": site_loc,
}


def _adj_list(vecs, tol, n_blocks=None):
Expand Down

0 comments on commit bda36ae

Please sign in to comment.