Skip to content

Commit

Permalink
doc: update readme with new apis we missed
Browse files Browse the repository at this point in the history
  • Loading branch information
beckermr committed Sep 13, 2024
1 parent 923dba5 commit 7165512
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ about the inner workings of GalSim and how to code in JAX.
## Current GalSim API Coverage

<!-- start-api-coverage -->
JAX-GalSim has implemented 22.6% of the GalSim API. See the list below for the supported APIs.
JAX-GalSim has implemented 22.5% of the GalSim API. See the list below for the supported APIs.

<details>

Expand Down Expand Up @@ -138,13 +138,17 @@ JAX-GalSim has implemented 22.6% of the GalSim API. See the list below for the s
- galsim.UniformDeviate
- galsim.VariableGaussianNoise
- galsim.WeibullDeviate
- galsim.bessel.j0
- galsim.bessel.kv
- galsim.bessel.si
- galsim.fits.closeHDUList
- galsim.fits.readCube
- galsim.fits.readFile
- galsim.fits.readMulti
- galsim.fits.write
- galsim.fits.writeFile
- galsim.fitswcs.CelestialWCS
- galsim.integ.int1d
- galsim.noise.addNoise
- galsim.noise.addNoiseSNR
- galsim.random.permute
Expand Down
4 changes: 3 additions & 1 deletion scripts/update_api_coverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ def _list_all_apis(module, apis=None, seen_modules=None):
seen_modules.add(full_name)
_list_all_apis(obj, apis=apis, seen_modules=seen_modules)
elif kind == "class_or_fun" and (
inspect.isclass(obj) or inspect.isfunction(obj)
inspect.isclass(obj)
or inspect.isfunction(obj)
or inspect.isroutine(obj)
):
if not any(api.endswith(f".{name}") for api in apis):
apis.add(full_name)
Expand Down

0 comments on commit 7165512

Please sign in to comment.