{"id":16073330,"url":"https://github.com/larsgeb/gaussian-random-fields-demo","last_synced_at":"2025-04-11T05:42:09.911Z","repository":{"id":106139855,"uuid":"202687583","full_name":"larsgeb/gaussian-random-fields-demo","owner":"larsgeb","description":"A demo of Gaussian random fields using Jupyter Notebooks","archived":false,"fork":false,"pushed_at":"2019-08-16T14:47:54.000Z","size":1931,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T03:41:40.565Z","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":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/larsgeb.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-08-16T08:16:43.000Z","updated_at":"2025-01-20T16:24:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"10f992a1-d39b-4f97-957b-6f7230f9eb45","html_url":"https://github.com/larsgeb/gaussian-random-fields-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsgeb%2Fgaussian-random-fields-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsgeb%2Fgaussian-random-fields-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsgeb%2Fgaussian-random-fields-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsgeb%2Fgaussian-random-fields-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/larsgeb","download_url":"https://codeload.github.com/larsgeb/gaussian-random-fields-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248351385,"owners_count":21089269,"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-09T08:06:43.760Z","updated_at":"2025-04-11T05:42:09.890Z","avatar_url":"https://github.com/larsgeb.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gaussian Random Fields demo\n[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/larsgeb/gaussian-random-fields-demo/master?filepath=Notebook%201%20-%20GRFs%20introduction.ipynb)\n\nA demo of Gaussian random fields using Jupyter Notebooks and the Fenics FEM library. I advise clicking the Binder button above here to run the code directly in your browser without any installation! Otherwise, follow the instructions below.\n\n\n## Using your own environment\nThese notebooks are based only on a few packages, so installing by hand should not prove to be complicated. The basic packages we need are NumPy, SciPy and Matplotlib. These should be available in most installation already, otherwise run:\n```\npip install numpy scipy matplotlib\n```\nor explicitly for Python 3: \n```\npip3 install numpy scipy matplotlib\n```\n\nAdditionally, we need the package '[fenics](https://fenicsproject.org/)' and its associated mesher '[mshr]()'.\n\nThis amounts for Ubuntu-like distro's to:\n```\nsudo apt-get install software-properties-common\nsudo add-apt-repository ppa:fenics-packages/fenics\nsudo apt-get update\nsudo apt-get install --no-install-recommends fenics\n```\n\nOr for Anaconda:\n```\nconda create -n fenicsproject -c conda-forge fenics mshr\nsource activate fenicsproject\n```\n\n## Recreating the development environment using Anaconda/Miniconda\nTo install **exactly** the same packages as were used in development we have included a `requirements.txt` file. Anaconda or Miniconda are both supported. Make sure that you have one of these installed: \n\n1.  https://www.anaconda.com/distribution/;\n2.  https://docs.conda.io/en/latest/miniconda.html.\n\nAlso, make sure that you can activate anaconda environments ([i.e. add the executable to your PATH](https://support.anaconda.com/customer/en/portal/articles/2621189-conda-%22command-not-found%22-error)). \n\nFor new Conda users, you might not want to automatically start Anaconda every time you open a command line shell. You can do that by using the following from the shell:\n```\n$ conda config --set auto_activate_base false\n```\n\nTo install dependencies using Conda:\n```\nconda create --name grfs --file requirements.txt\n```\n\nAnd to activate the environment:\n```\nconda activate grfs\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flarsgeb%2Fgaussian-random-fields-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flarsgeb%2Fgaussian-random-fields-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flarsgeb%2Fgaussian-random-fields-demo/lists"}