naobservatory / p2ra

4 stars 1 forks source link

Command line arguments for fit.py #173

Closed dp-rice closed 1 year ago

dp-rice commented 1 year ago

fit.py is an entry point script that we call from the command line. A full run currently takes about 15 min and we can expect that to grow over time if we add data or make the model more complicated. It would be nice to be able to specify some parameters to make it run faster for debugging (e.g., the number of samples from the HMC sampler or whether or not to make all the plots). Currently, I do this by editing the script, but it would be easy to add some command line arguments.

dp-rice commented 1 year ago

This would be convenient but we don't run the model often enough to justify the effort. If we ever do, we can revisit.