You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: LICENSE
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
Copyright 2022 Simula Reaseach Laboratory
1
+
Copyright 2022 Simula Research Laboratory
2
2
3
3
Permission 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:
Copy file name to clipboardExpand all lines: docs/abstract.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ Here you can write a little abstract for the paper or some text explaining what
5
5
6
6
You could also add citation that you can add to the `refs.bib` in the `docs` folder. You can read more about adding citations [here](https://jupyterbook.org/en/stable/content/citations.html).
7
7
8
-
In this example we use the LDRB algorithm {cite}`bayer2012novel` to data from {cite}`martinez2019repository`
8
+
In this example we use the LDRB algorithm {cite}`bayer2012novel` to data from {cite}`martinez2019repository`.
Copy file name to clipboardExpand all lines: docs/docker.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
##Running in Docker
1
+
# Running in Docker
2
2
3
3
We have created a docker image containing all the dependencies as well as the source code in the repository. To get the most recent version of the docker image, make sure to pull the latest image first
Copy file name to clipboardExpand all lines: docs/reproducing.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
## Data
5
5
6
-
Data is available in a dropbox folder. Use the script `download_data.sh` in the data folder to download the data, i.e
6
+
Data is available in a Dropbox folder. Use the script `download_data.sh` in the data folder to download the data, i.e
7
7
```bash
8
8
cd data
9
9
bash download_data.sh
@@ -18,9 +18,9 @@ The data folder should have the following structure after the data is downloaded
18
18
├── heart01.msh
19
19
└── heart02.msh
20
20
```
21
-
These meshes are originally taken from <https://ora.ox.ac.uk/objects/uuid:951b086c-c4ba-41ef-b967-c2106d87ee06>, but since the original data is about 26GB we decided to make a smaller dataset for this example.
21
+
These meshes are originally taken from {cite}`martinez2019repository`, but since the original data is about 26GB we decided to make a smaller dataset for this example.
22
22
23
-
Eventually when you publish a paper you could put this data on e.g [Zenodo](https://zenodo.org). That will make sure the data gets it's own DOI.
23
+
Eventually when you publish a paper you could put this data on e.g [Zenodo](https://zenodo.org). That will make sure the data gets it's own [Digital Object Identifier](https://www.doi.org/) (DOI).
24
24
25
25
26
26
## Scripts
@@ -31,7 +31,7 @@ In order to reproduce the results you need to first run the pre-processing scrip
31
31
```
32
32
python3 pre_processing.py
33
33
```
34
-
This will convert the meshes from Gmsh to a dolfin format.
34
+
This will convert the meshes from Gmsh to a Dolfin format.
35
35
36
36
### Fiber generation
37
37
The next step is to run the fiber generation. You can do this by running the script
@@ -46,3 +46,7 @@ The final step is to postprocess the results by running the script
46
46
python3 postprocess.py
47
47
```
48
48
This will generate a file for visualizing the fibers in the Paraview (inside `code/results` called `fiber_<heart_nr>.xdmf`). This script will also compare some features computed from the fibers with the results published in the (artificial) paper. If the results differ, then the program will raise an error.
0 commit comments