-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from SciKit-Surgery/21-visualisation
21 visualisation
- Loading branch information
Showing
10 changed files
with
213 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
cff-version: 1.2.0 | ||
message: "If you use any SciKit-Surgery packages in your research, please cite it as below." | ||
authors: | ||
- family-names: "Olafsdottir" | ||
given-names: "Asta" | ||
- family-names: "Thompson" | ||
given-names: "Stephen" | ||
orcid: "https://orcid.org/0000-0001-7286-1326" | ||
title: "SciKit-SurgeryGlenoid" | ||
url: "https://github.com/SciKit-Surgery/scikit-surgery" | ||
preferred-citation: | ||
type: article | ||
authors: | ||
- family-names: "Thompson" | ||
given-names: "Stephen" | ||
orcid: "https://orcid.org/0000-0001-7286-1326" | ||
- family-names: "Dowrick" | ||
given-names: "Thomas" | ||
orcid: "https://orcid.org/0000-0002-2712-4447" | ||
- family-names: "Ahmad" | ||
given-names: "Mian" | ||
orcid: "https://orcid.org/0000-0002-4706-4146" | ||
- family-names: "Xiao" | ||
given-names: "Guofang" | ||
- family-names: "Koo" | ||
given-names: "Bongjin" | ||
orcid: "https://orcid.org/0000-0002-3611-4988" | ||
- family-names: "Bonmati" | ||
given-names: "Ester" | ||
orcid: "https://orcid.org/0000-0001-9217-5438" | ||
- family-names: "Kahl" | ||
given-names: "Kim" | ||
- family-names: "Clarkson" | ||
given-names: "Matthew" | ||
orcid: "https://orcid.org/0000-0002-5565-1252" | ||
doi: 10.1007/s11548-020-02180-5 | ||
journal: "International journal of computer assisted radiology and surgery" | ||
start: 1075 | ||
end: 1084 | ||
title: "SciKit-Surgery: Compact Libraries for Surgical Navigation" | ||
volume: 15 | ||
issue: 7 | ||
year: 2020 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
""" | ||
A colour palette based on Bang's colour pallette | ||
Wong, B. Points of view: Color blindness. Nat Methods 8, 441 (2011). | ||
https://doi.org/10.1038/nmeth.1618 | ||
""" | ||
|
||
bang_palette={ 'black' : [0,0,0], | ||
'orange' : [230./255., 159./255., 0], | ||
'sky blue' : [86./255., 180./255., 233./255.], | ||
'bluish green' : [0./255., 158./255., 115./255.], | ||
'yellow' : [240./255., 228./255., 66./255.], | ||
'blue' : [0./255., 114./255., 178./255.], | ||
'vermillion' : [213./255., 94./255., 0./255.], | ||
'reddish purple' : [204./255., 121./255., 167./255.] | ||
} | ||
|
||
weiss_light_blue = [0.0, 0.384, 0.490] | ||
|
||
|
||
def bang_list(): | ||
""" | ||
Returns the bang palette as a list | ||
""" | ||
bp_list = [] | ||
for _key, value in bang_palette.items(): | ||
bp_list.append(value) | ||
return bp_list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ | |
numpy | ||
vtk | ||
scikit-surgeryvtk | ||
scikit-surgerycore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,6 +54,7 @@ | |
'numpy', | ||
'vtk', | ||
'scikit-surgeryvtk' | ||
'scikit-surgerycore' | ||
], | ||
|
||
entry_points={ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"model colour" : [0.89, 0.86, 0.79], | ||
"plane resolution" : 1, | ||
"plane size" : 200.0, | ||
"vary plane colour" : true, | ||
"point size" : 3.0, | ||
"line width" : 4 | ||
} |