MNGuenther / allesfitter

allesfitter is a convenient wrapper around the packages ellc (light curve and RV models), dynesty (static and dynamic nested sampling) emcee (Markov Chain Monte Carlo sampling) and celerite (Gaussian Process models).
MIT License
62 stars 36 forks source link

Implement alternative light curve models #61

Open MNGuenther opened 1 year ago

MNGuenther commented 1 year ago

Some operating systems (e.g., Windows and Mac M1 chips) report problems with installing/running ellc. A temporary bypass of this could be to enable a second option for a Python-only light curve model (such as batman), which gets loaded and used if ellc fails. Depending on the chosen model, the functionality would be constrained to transits and occultations only (no binaries or phase curves). This would require a major update to allesfitter.

MNGuenther commented 1 year ago

A solution to the Mac M1 issue was provided by @wangxianyu7 here: https://github.com/pmaxted/ellc/issues/11#issuecomment-1436017036

To explain (credit @wangxianyu7): Miniforge is the earliest available conda installer that supports the new M1 Mac. Its default channel, conda-forge, provides the latest packages for various architectures, including ARM64. This means that it can provide more streamlined support for M1 Mac than miniconda/anaconda currently can.