sot / xija

Thermal modeling framework for Chandra X-ray Observatory
https://sot.github.io/xija
BSD 3-Clause "New" or "Revised" License
9 stars 5 forks source link

Pre-compute Earth illumination values to speed up ACIS FP model #62

Closed taldcroft closed 5 years ago

taldcroft commented 5 years ago

Conceptually it should be possible to pre-compute the Earth illumination values in order to substantially speed up ACIS FP model evaluation. There is a question of gridding. Offhand perhaps it would be sufficient to have:

This would result in a data file around 80 Mb assuming 20 million float32 values.

Current performance is faster than 2 ms / point, so this can be computed in less than a day.

[EDIT: number of grid points substantially reduced from this in #63 without impacting accuracy substantially]