jason-neal / companion_simulations

Simulating combined host+companion spectra, and fitting to observed crires spectra.
MIT License
2 stars 0 forks source link

vectorize some of the inner loops. #4

Closed jason-neal closed 7 years ago

jason-neal commented 7 years ago

Try perform the chi square analysis in vectorized form.

Can probably do 3 or 4 dimensions at once.

jason-neal commented 7 years ago

This is done in models/broadcasted_models.py

jason-neal commented 7 years ago

sp chisquare is faster than my chisquare . both work in many dimensions. jsut need to specify to calculate over axis=0