Skip to content

Commit

Permalink
update for binaries SF
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfred Castro Ginard authored and Alfred Castro Ginard committed Apr 22, 2024
1 parent 32b115b commit 91784c2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Horizon 2020 research and innovation program under grant agreement No 101004110.
notebooks/getting-started
notebooks/dr3-empirical-completeness
notebooks/constructing_SelectionFunctions
notebooks/dr3-unresolved-binaries
notebooks/scanninglaw
citation
api
Expand Down
2 changes: 0 additions & 2 deletions src/gaiaunlimited/selectionfunctions/binaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ class BinarySystemsSelectionFunction(fetch_utils.DownloadMixin):
}
"""

print("Functionality under development")

datafiles = {
"dict_SL_ruwe.pkl": " "#"https://zenodo.org/record/8063930/files/allsky_M10_hpx7.hdf5"
Expand Down
7 changes: 3 additions & 4 deletions src/gaiaunlimited/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from astropy import constants, coordinates
import pickle
from astromet import sigma_ast
import time

__all__ = ["coord2healpix", "get_healpix_centers","SimulateGaiaSource"]

Expand Down Expand Up @@ -89,8 +90,6 @@ class SimulateGaiaSource(fetch_utils.DownloadMixin):
}
"""

print("Functionality under development")

datafiles = {
"dict_SL_ruwe.pkl": " "#"https://zenodo.org/record/8063930/files/allsky_M10_hpx7.hdf5"
}
Expand Down Expand Up @@ -224,8 +223,8 @@ def eta(
η += delta_η
if (np.max(np.abs(delta_η)) < 1e-5):
break
else:
logger.warn(f"Did not converge after {max_iter} iterations ({delta_η:.1e}).")
#else:
# logger.warn(f"Did not converge after {max_iter} iterations ({delta_η:.1e}).")

return η

Expand Down

0 comments on commit 91784c2

Please sign in to comment.