GalSim-developers / GalSim-developers/JAX-GalSim
demo1-jax.py
Open
Nobody has claimed this yet.
docs
- Dominant language
- Python
- Stars
- 34
- Forks
- 10
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 3
Description
Showcase how to use jax functionality in jax galsim, specifically:
- jitting
- vmapping
- gradients
Potential cool extensions (potentially other demos)
- Derivatives with respect to shear
d Image / d Shear - running gradient based samplers with jax-galsim (eg blackjax, numpyro)
- jax metacal (see unit test)
- full stamp image drawing with jax galsim (see unit test)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the proposed demo1-jax.py entry point and review the existing JAX functionality. Use the referenced unit test for jax metacal and full stamp image drawing as context; done means demonstrating jitting, vmapping, and gradients, with the other listed extensions remaining optional.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100