- Write down your problem mathematically/statistically; stripping out astronomy-specific details from your model (e.g. pre-compute redshifts, weights, etc.)
- Ideally, shorten and simplify it down to primitives of math and statistics, which can be implemented in any language.
For the following decision tree, keep in mind that typically, one first thinks
- I just want to quickly find the best fit on this.