the broader
numerical computing
Python ecosystem
+ SO MANY MORE!
Slide 43
Slide 43 text
jax.readthedocs.io
Slide 44
Slide 44 text
import numpy as np
def linear_least_squares(x, y)
:
A = np.vander(x, 2)
return np.linalg.lstsq(A, y)[0]
Slide 45
Slide 45 text
import jax.numpy as jnp
def linear_least_squares(x, y)
:
A = jnp.vander(x, 2)
return jnp.linalg.lstsq(A, y)[0]
Slide 46
Slide 46 text
import jax.numpy as jnp
@jax.jit
def linear_least_squares(x, y)
:
A = jnp.vander(x, 2)
return jnp.linalg.lstsq(A, y)[0]
Slide 47
Slide 47 text
No content
Slide 48
Slide 48 text
tinygp.readthedocs.io
Slide 49
Slide 49 text
the broader
numerical computing
Python ecosystem
+ SO MANY MORE!
Slide 50
Slide 50 text
* I <3 JAX
* don’t reinvent the wheel
Slide 51
Slide 51 text
the why & how of
open software
in astrophysics
Slide 52
Slide 52 text
credit: Adrian Price-Whelan
/ /
data: SAO/NASA ADS
Slide 53
Slide 53 text
No content
Slide 54
Slide 54 text
No content
Slide 55
Slide 55 text
No content
Slide 56
Slide 56 text
No content
Slide 57
Slide 57 text
takeaways
Slide 58
Slide 58 text
open software is foundational to
astrophysics research
let’s consider & discuss interface
design and user interaction
leverage existing infrastructure &
learn when to start fresh