Skip to content

Commit 7aa8ab7

Browse files
Create package
0 parents  commit 7aa8ab7

File tree

9 files changed

+2042
-0
lines changed

9 files changed

+2042
-0
lines changed

Manifest.toml

Lines changed: 855 additions & 0 deletions
Large diffs are not rendered by default.

Project.toml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name = "The2DShapeStructureDataset"
2+
uuid = "c6de9c8f-144b-4cb3-b8c3-52bb520a6130"
3+
authors = ["Andreas Kröpelin <[email protected]>"]
4+
version = "0.1.0"
5+
6+
[deps]
7+
Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
8+
HybridArrays = "1baab800-613f-4b0a-84e4-9cd3431bfbb9"
9+
JSON3 = "0f8b85d8-7281-11e9-16c2-39a750bddbf1"
10+
Meshes = "eacbb407-ea5a-433e-ab97-5258b1ca43fa"
11+
StaticArraysCore = "1e83bf80-4336-4d27-bf5d-d5a4f845583c"
12+
Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"
13+
ZipArchives = "49080126-0e18-4c2a-b176-c102e4b3760c"
14+
15+
[compat]
16+
Downloads = "1.6.0"
17+
HybridArrays = "0.4.16"
18+
JSON3 = "1.14.1"
19+
Meshes = "0.52.1"
20+
StaticArraysCore = "1.4.3"
21+
Unitful = "1.21.0"
22+
ZipArchives = "2.4.0"

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# The2dShapeStructureDataset.jl
2+
3+
This is a convenience package for working with
4+
[The 2D Shape Structure Dataset](https://2dshapesstructure.github.io/).
5+
The dataset has the following copyright notice
6+
> Copyright (c) [2016] [A. Carlier, K. Leonard, S. Hahmann, G. Morin, M. Collins]
7+
and is licensed under an MIT-License.
8+
9+
## Quickstart
10+
11+
Install this package from the Genreal Registry:
12+
```julia
13+
julia> ]
14+
pkg> add The2DShapeStructureDataset
15+
```
16+
and make it available:
17+
```julia
18+
julia> using The2DShapeStructureDataset
19+
```
20+
21+
You can then obtain the coordinates for, say, the structure `apple-1`:
22+
```julia
23+
julia> shape_coords("apple-1")
24+
2×112 HybridArrays.HybridMatrix{2, StaticArraysCore.Dynamic(), Float64, 2, Matrix{Float64}} with indices SOneTo(2)×Base.OneTo(112):
25+
0.0 0.0 0.0047847 0.0047847 0.014354 0.019139 0.028708 0.043062 0.038278 0.028708 0.019139 0.0095694 0.0047847 0.0 0.0 0.0
26+
0.41627 0.44498 0.47368 0.50239 0.5311 0.55981 0.58852 0.61722 0.23923 0.26794 0.29665 0.32536 0.35407 0.38278 0.41148 0.41627
27+
```

docs/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
build/
2+
site/

0 commit comments

Comments
 (0)