Skip to content

Commit

Permalink
Add wok coordinates to output df in icrs_from_positioner
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed May 10, 2024
1 parent 61caeb7 commit 26064d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/jaeger/target/coordinates.py
Expand Up @@ -386,8 +386,11 @@ def icrs_from_positioner_dataframe(
else:
field = obs = icrs = None

# Add focal coordinates. These always exist.
# Add wok and focal coordinates. These always exist.
data = data.with_columns(
xwok=polars.Series(xwok),
ywok=polars.Series(ywok),
zwok=polars.Series(zwok),
xfocal=polars.Series(focal[:, 0]),
yfocal=polars.Series(focal[:, 1]),
)
Expand Down

0 comments on commit 26064d7

Please sign in to comment.