Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display plots for inverse model and compile C code for inverse model when it hasn't been done previously #8

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

G-Siron
Copy link

@G-Siron G-Siron commented Aug 6, 2020

Hi Gabe! I changed the function to display plots for the inverse model. I checked on my virtual machine running ubuntu-gnome 16.04 and it is running fine. But feel free to check on other OS.

@G-Siron G-Siron changed the title Display plots for inverse model Display plots for inverse model and compile C code for inverse model when it hasn't been done previously Aug 6, 2020
@G-Siron
Copy link
Author

G-Siron commented Aug 6, 2020

I also added in the file modelfunctions.py a check before running the C code for inverse model. But at the moment the executable compiled for linux is in the folder, so that wouldn't work for Mac OS users. In order to make my modification work for Mac users, the executable shouldn't be included. Then the C code is compiled the first time an user run the FGB using the inverse model function (for Linux and Mac OS). I checked the time and it takes 1 second the first time and then running time is exactly the same. I haven't checked it on Linux but I don't see any reasons to not work.

G-Siron added 2 commits May 31, 2022 12:12
Add the Metropolis-Hastings MCMC for inversion of thermal histories
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant