Skip to content
Merged
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
af2445f
chore: add docs optional-dependency group to pyproject.toml
ismael-mendoza Apr 23, 2026
acdf924
docs: add Sphinx configuration, custom extension, and static assets
ismael-mendoza Apr 23, 2026
fc5941b
docs: add index page and API reference RST sources
ismael-mendoza Apr 23, 2026
4e8f7cf
style: format pyproject toml
ismael-mendoza Apr 30, 2026
9b42963
docs: fix docstrings so they follow rst syntax and galsim style
ismael-mendoza Apr 30, 2026
a99ab72
docs: add sharp bits block to emphasize classes that have a LAX descr…
ismael-mendoza Apr 30, 2026
8a6a6aa
ci: add make docs workflow
ismael-mendoza Apr 30, 2026
c4362d0
docs: interpolated image before interpolatns
ismael-mendoza Apr 30, 2026
ad10f15
docs: small clarification
ismael-mendoza Apr 30, 2026
67d16ac
docs: not needed
ismael-mendoza Apr 30, 2026
5f9d152
style: formatting
ismael-mendoza Apr 30, 2026
3e02f73
docs: add user-facing guide pages (installation, quickstart, notable-…
ismael-mendoza Apr 30, 2026
7e2410a
docs: expand index page and reorganise core API page
ismael-mendoza Apr 30, 2026
62ec648
Merge branch 'main' into sphinx-docs
ismael-mendoza Apr 30, 2026
2c94f2c
docs: rst fix indentation
ismael-mendoza Apr 30, 2026
e6f7d9c
docs: fix rst indentation
ismael-mendoza Apr 30, 2026
85d852c
docs: add Read the Docs configuration file
ismael-mendoza May 1, 2026
9f1cf34
Trigger RTD Build
ismael-mendoza May 1, 2026
f1be2e8
docs: fix some rst synxtax errors (single ticks, bullet indentation)
ismael-mendoza May 1, 2026
c806cfa
docs: github action not needed since we are using RTD now
ismael-mendoza May 1, 2026
470de0d
docs: use sharp bits instead of notable-difefrences
ismael-mendoza May 1, 2026
4d0290f
docs: use sharp bits
ismael-mendoza May 1, 2026
0b54c17
docs: note about core not intended for public usage
ismael-mendoza May 1, 2026
535a3ac
docs: changes suggested by Matt to align more with GalSim
ismael-mendoza May 1, 2026
f4b2832
docs: add documentation link to readme
ismael-mendoza May 1, 2026
64fc07c
docs: small correction
ismael-mendoza May 1, 2026
45cd3b8
Apply suggestion from @beckermr
beckermr May 1, 2026
5c9a2e1
Apply suggestion from @beckermr
beckermr May 1, 2026
cb1ca94
docs: added versioning and API policy
ismael-mendoza May 1, 2026
9399bda
docs: title underlin too short
ismael-mendoza May 1, 2026
5a134bc
docs: forgot this note
ismael-mendoza May 1, 2026
fcf2b25
Apply suggestion from @beckermr
beckermr May 1, 2026
06344b8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 1, 2026
60ec3fa
Apply suggestion from @beckermr
beckermr May 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Read the Docs configuration
# https://docs.readthedocs.io/en/stable/config-file/v2.html

version: 2

build:
os: ubuntu-24.04
tools:
python: "3.12"
commands:
- pip install uv
- uv sync --extra docs
- uv run sphinx-build -b html docs $READTHEDOCS_OUTPUT/html

sphinx:
configuration: docs/conf.py
fail_on_warning: false
127 changes: 5 additions & 122 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@

**JAX port of GalSim, for parallelized, GPU accelerated, and differentiable galaxy image simulations.**

[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](CODE_OF_CONDUCT.md) [![Python package](https://github.com/GalSim-developers/JAX-GalSim/actions/workflows/python_package.yaml/badge.svg)](https://github.com/GalSim-developers/JAX-GalSim/actions/workflows/python_package.yaml) [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/GalSim-developers/JAX-GalSim/main.svg)](https://results.pre-commit.ci/latest/github/GalSim-developers/JAX-GalSim/main) [![CodSpeed Badge](https://img.shields.io/endpoint?url=https://codspeed.io/badge.json)](https://codspeed.io/GalSim-developers/JAX-GalSim)
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](CODE_OF_CONDUCT.md) [![Python package](https://github.com/GalSim-developers/JAX-GalSim/actions/workflows/python_package.yaml/badge.svg)](https://github.com/GalSim-developers/JAX-GalSim/actions/workflows/python_package.yaml) [![Documentation Status](https://readthedocs.org/projects/jax-galsim/badge/?version=latest)](https://jax-galsim.readthedocs.io/en/latest/) [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/GalSim-developers/JAX-GalSim/main.svg)](https://results.pre-commit.ci/latest/github/GalSim-developers/JAX-GalSim/main) [![CodSpeed Badge](https://img.shields.io/endpoint?url=https://codspeed.io/badge.json)](https://codspeed.io/GalSim-developers/JAX-GalSim)

**Disclaimer**: This project is still in an early development phase, **please use the [reference GalSim implementation](https://github.com/GalSim-developers/GalSim) for any scientific applications.**

**You can find the most up-to-date documentation for the project [here](https://jax-galsim.readthedocs.io/en/latest).**


## Objective and Design

The goal of this library is to reimplement GalSim functionalities in pure JAX to allow for automatic differentiation, GPU acceleration, and batched computations.
Expand Down Expand Up @@ -44,124 +47,4 @@ about the inner workings of GalSim and how to code in JAX.

## Current GalSim API Coverage

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

<details>

- galsim.Add
- galsim.AffineTransform
- galsim.Angle
- galsim.AngleUnit
- galsim.BaseDeviate
- galsim.BaseNoise
- galsim.BaseWCS
- galsim.BinomialDeviate
- galsim.Bounds
- galsim.BoundsD
- galsim.BoundsI
- galsim.Box
- galsim.CCDNoise
- galsim.CelestialCoord
- galsim.Chi2Deviate
- galsim.Convolution
- galsim.Convolve
- galsim.Cubic
- galsim.Deconvolution
- galsim.Deconvolve
- galsim.Delta
- galsim.DeltaFunction
- galsim.DeviateNoise
- galsim.Exponential
- galsim.FitsHeader
- galsim.FitsWCS
- galsim.GSFitsWCS
- galsim.GSObject
- galsim.GSParams
- galsim.GalSimBoundsError
- galsim.GalSimConfigError
- galsim.GalSimConfigValueError
- galsim.GalSimDeprecationWarning
- galsim.GalSimError
- galsim.GalSimFFTSizeError
- galsim.GalSimHSMError
- galsim.GalSimImmutableError
- galsim.GalSimIncompatibleValuesError
- galsim.GalSimIndexError
- galsim.GalSimKeyError
- galsim.GalSimNotImplementedError
- galsim.GalSimRangeError
- galsim.GalSimSEDError
- galsim.GalSimUndefinedBoundsError
- galsim.GalSimValueError
- galsim.GalSimWarning
- galsim.GammaDeviate
- galsim.Gaussian
- galsim.GaussianDeviate
- galsim.GaussianNoise
- galsim.Image
- galsim.ImageCD
- galsim.ImageCF
- galsim.ImageD
- galsim.ImageF
- galsim.ImageI
- galsim.ImageS
- galsim.ImageUI
- galsim.ImageUS
- galsim.Interpolant
- galsim.InterpolatedImage
- galsim.JacobianWCS
- galsim.Lanczos
- galsim.Linear
- galsim.Moffat
- galsim.Nearest
- galsim.OffsetShearWCS
- galsim.OffsetWCS
- galsim.PhotonArray
- galsim.Pixel
- galsim.PixelScale
- galsim.PoissonDeviate
- galsim.PoissonNoise
- galsim.Position
- galsim.PositionD
- galsim.PositionI
- galsim.Quintic
- galsim.Sensor
- galsim.Shear
- galsim.ShearWCS
- galsim.SincInterpolant
- galsim.Spergel
- galsim.Sum
- galsim.TanWCS
- galsim.Transform
- galsim.Transformation
- 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
- galsim.utilities.g1g2_to_e1e2
- galsim.utilities.horner
- galsim.utilities.printoptions
- galsim.utilities.unweighted_moments
- galsim.utilities.unweighted_shape
- galsim.wcs.EuclideanWCS
- galsim.wcs.LocalWCS
- galsim.wcs.UniformWCS

</details>
<!-- end-api-coverage -->

_**Note**: The coverage list is generated automatically by the `scripts/update_api_coverage.py` script. To update it, run `python scripts/update_api_coverage.py` from the root of the repository._
JAX-GalSim current has implemented **22.5%** of the GalSim API. See the corresponding [documentation page](https://jax-galsim.readthedocs.io/en/latest/api-coverage) for a list of what is currently implemented.
24 changes: 24 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Minimal Sphinx Makefile — uses uv run so all package deps are always available.

SPHINXBUILD = uv run sphinx-build
SOURCEDIR = .
BUILDDIR = _build

.PHONY: help html clean livehtml

help:
@echo "Usage:"
@echo " make html Build the HTML documentation"
@echo " make clean Remove the build directory"
@echo " make livehtml Auto-rebuild on file changes (requires sphinx-autobuild)"

html:
$(SPHINXBUILD) -b html $(SOURCEDIR) $(BUILDDIR)/html

clean:
rm -rf $(BUILDDIR)

livehtml:
uv run sphinx-autobuild $(SOURCEDIR) $(BUILDDIR)/html \
--ignore "**/_build/**" \
--ignore "**/.DS_Store"
Loading
Loading