{"id":15359072,"url":"https://github.com/santisoler/lapis2019-afonso-homework","last_synced_at":"2025-04-04T13:44:02.140Z","repository":{"id":86165598,"uuid":"191572033","full_name":"santisoler/lapis2019-afonso-homework","owner":"santisoler","description":"Solutions to Juan Afonso's Homework for LAPIS 2019 ","archived":false,"fork":false,"pushed_at":"2019-06-18T17:50:59.000Z","size":935,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T23:28:40.462Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/santisoler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-12T13:02:06.000Z","updated_at":"2024-12-13T16:43:16.000Z","dependencies_parsed_at":"2023-03-13T08:43:44.212Z","dependency_job_id":null,"html_url":"https://github.com/santisoler/lapis2019-afonso-homework","commit_stats":{"total_commits":26,"total_committers":1,"mean_commits":26.0,"dds":0.0,"last_synced_commit":"c886b4bdc7c6d847347e1ac8e726083221da3f48"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santisoler%2Flapis2019-afonso-homework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santisoler%2Flapis2019-afonso-homework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santisoler%2Flapis2019-afonso-homework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santisoler%2Flapis2019-afonso-homework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/santisoler","download_url":"https://codeload.github.com/santisoler/lapis2019-afonso-homework/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247189521,"owners_count":20898691,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T12:43:45.749Z","updated_at":"2025-04-04T13:44:02.120Z","avatar_url":"https://github.com/santisoler.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Solutions to Juan Afonso's Homework for LAPIS 2019\n\n[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/santisoler/lapis2019-afonso-homework/master)\n\nThis repo contains the Jupyter notebooks that perform the tasks left as homework by Juan\nAfonso on the LAPIS 2019 School.\n\nIt contains:\n\n- `01. MTMIS Multiple Try Metropolis Independent Sampler.ipynb`: Jupyter notebook that\n  implements a simple Multiple Try Metropolis Independent Sampler.\n- `02. Parallel Tempering with Multiple Chains.ipynb`: Jupyter notebook that\n  implements a simple Parallel Tempering with multiple chains.\n- `03. Non linear inverse problem.ipynb`: Jupyter notebook that\n  creates a synthetic model from a non linear forward model and perform an MCMC\n  inversion to recover the first one.\n- `environment.yml`: Configuration file for creating Anaconda environment.\n\nAll notebooks have been written by\n[Santiago Soler](https://github.com/santisoler) and\n[Sebastian Correa-Otto](https://github.com/sacaliza)\nin order to pass the LAPIS 2019 assignments.\n\n\n## How to run?\n\n### Use Binder\n\nThe easiest way to run the notebook is through [Binder](https://mybinder.org).\nJust follow\n[this link](https://mybinder.org/v2/gh/santisoler/lapis2019-afonso-homework/master)\nand wait until Binder loads the notebook.\n\n### Download the repo and run it locally\n\nYou'll need a Python distribution to make it run with the following dependencies:\n- numpy\n- scipy\n- matplotlib\n\nThe easiest way to get Python and all of these dependencies installed is through\n[Anaconda](https://www.anaconda.com/).\nDownload the latest Anaconda 3 distribution for your OS.\n\nThen clone the repo:\n\n```\ngit clone https://github.com/santisoler/lapis2019-afonso-homework\n```\n\nor\n[download it](https://github.com/santisoler/lapis2019-afonso-homework/archive/master.zip)\nas a zip file.\n\nChange your working directory to the cloned repo and create the conda environment to get\nall the dependencies:\n```\ncd lapis2019-afonso-homework\nconda env create\n```\n\nOnce all the packages have been downloaded and installed, activate the repository:\n```\nconda activate lapis2019\n```\n\nFinally, start a Jupyter Notebook kernel:\n```\njupyter-notebook\n```\nThis will open a new page on your web browser where you will be able to find all the\nnotebooks.\nYou'll be able to open it and run any cell.\nIf you want to reproduce our results, run all cells in order.\n\n\n## License\n\nAll code is licensed under the MIT License.\n\nCopyright (c) 2019 Santiago Soler, Sebastian Correa-Otto\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantisoler%2Flapis2019-afonso-homework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsantisoler%2Flapis2019-afonso-homework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantisoler%2Flapis2019-afonso-homework/lists"}