Skip to content

Commit

Permalink
fix psi issue
Browse files Browse the repository at this point in the history
  • Loading branch information
WuShichao authored Oct 12, 2023
1 parent c60008f commit 5eb784a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pycbc/coordinates/space.py
Original file line number Diff line number Diff line change
Expand Up @@ -685,9 +685,9 @@ def ssb_to_geo(t_ssb, longitude_ssb, latitude_ssb, polarization_ssb,
k_ssb = localization_to_propagation_vector(
None, None, use_astropy, bme_coord)
rotation_matrix_geo = \
ecliptic_transforms.baryecliptic_to_icrs(
from_coo=BarycentricMeanEcliptic(equinox='J2000'),
to_frame=None)
ecliptic_transforms.icrs_to_baryecliptic(
from_coo=None,
to_frame=BarycentricMeanEcliptic(equinox='J2000'))
polarization_geo[i] = polarization_newframe(
polarization_ssb[i], k_ssb,
rotation_matrix_geo, use_astropy,
Expand Down Expand Up @@ -800,9 +800,9 @@ def geo_to_ssb(t_geo, longitude_geo, latitude_geo, polarization_geo,
k_geo = localization_to_propagation_vector(
None, None, use_astropy, geo_coord)
rotation_matrix_geo = \
ecliptic_transforms.baryecliptic_to_icrs(
from_coo=BarycentricMeanEcliptic(equinox='J2000'),
to_frame=None)
ecliptic_transforms.icrs_to_baryecliptic(
from_coo=None,
to_frame=BarycentricMeanEcliptic(equinox='J2000'))
t_ssb[i] = t_ssb_from_t_geo(t_geo[i], longitude_ssb[i],
latitude_ssb[i], use_astropy,
ssb_sky)
Expand Down

0 comments on commit 5eb784a

Please sign in to comment.