rhayes777 / PyAutoFit

PyAutoFit: Classy Probabilistic Programming
https://pyautofit.readthedocs.io/
MIT License
59 stars 11 forks source link

Feature/howtofit docs #1022

Closed Jammy2211 closed 2 months ago

Jammy2211 commented 2 months ago

I am preparing a lecture course for UK PhD students.

This PR updates a few aspects of the source code to make the lectures clearer:

1) Updates docs describing autofit. 2) Disables and changes some logging, to make it clear what the code is doing.

One annoying thing I had to do was disable the following at the top of the Search:

        if name is None and path_prefix is None:
            self.disable_output = True
        else:
            self.disable_output = False

Whether or not output occurs is becoming more and more confusing (the logging configs changed the desired behaviour which is why I had to set this parameter).

This will be cleaned up in the future but no time to deal with whilst I write the lectures.