-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add updated animation with buttons to doc; fix plotting docs build.
- Loading branch information
Showing
17 changed files
with
118 additions
and
22 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,17 @@ | ||
div.initial {} | ||
|
||
div.itemBox { | ||
display: none; | ||
|
||
} | ||
|
||
.item_image { | ||
width: 70vw; | ||
height: auto; | ||
} | ||
|
||
button { | ||
font-size: 1.5vw; | ||
border-radius: 0.25vw; | ||
color: white; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,65 @@ | ||
|
||
|
||
|
||
<div style="margin:auto;"> | ||
<p> | ||
<h2 align="center"> | ||
<br> → | ||
<button type="button" style="background-color: #9e9a9a;" id ="button1" href="javascript:alert('t');return false" | ||
alt="n1" onclick="myFunction('1');">One band</button> | ||
<button type="button" style="background-color: #9e9a9a;" id ="button2" href="javascript:alert('t');return false" | ||
alt="n2" onclick="myFunction('2');">Two bands</button> | ||
<button type="button" style="background-color: #9e9a9a;" id ="button3" href="javascript:alert('t');return false" | ||
alt="n3" onclick="myFunction('3');">Optical</button> | ||
<button type="button" style="background-color: #9e9a9a;" id ="button4" href="javascript:alert('t');return false" | ||
alt="n4" onclick="myFunction('4');">Opt/NIR</button> | ||
<button type="button" style="background-color: #9e9a9a;" id ="button5" href="javascript:alert('t');return false" | ||
alt="n5" onclick="myFunction('5');">UV/Opt/NIR</button> | ||
<button type="button" style="background-color: #9e9a9a;" id ="button6" href="javascript:alert('t');return false" | ||
alt="n6" onclick="myFunction('6');">UV/Opt/NIR/MIR</button> | ||
<button type="button" style="background-color: #9e9a9a;" id ="button7" href="javascript:alert('t');return false" | ||
alt="n7" onclick="myFunction('7');">All Bands</button> | ||
<button type="button" style="background-color: #228B22;" id ="button0" href="javascript:alert('t');return false" | ||
alt="mov" onclick="myFunction('0');">Movie</button> | ||
<h2> </div> | ||
</p> | ||
|
||
<div class="initial" id="item0" align='center'> | ||
<img src="_static/images/animation.gif" alt="First example image" class="item_image" /> | ||
</div> | ||
<div class="itemBox" id="fig1" align='center'> | ||
<img src="_static/images/nband1.png" alt="Second example image" class="item_image" id="extra"/> | ||
</div> | ||
|
||
</div> | ||
|
||
<script type="text/javascript"> | ||
function myFunction(itemNo) { | ||
|
||
var item = "item" + itemNo; | ||
var buttonName = "button" + itemNo; | ||
|
||
// turn everything off | ||
var elements = document.getElementsByTagName("button"); | ||
for (var i = 0; i < elements.length; i++) { | ||
elements[i].style.backgroundColor = "#9e9a9a"; | ||
} | ||
var x = document.getElementsByClassName("initial")[0]; | ||
x.style.display = "none"; | ||
|
||
// Turn the requested thing on | ||
var x = document.getElementById(buttonName); | ||
x.style.backgroundColor = "#228B22"; | ||
|
||
// Change the image source | ||
var element = document.getElementsByClassName("itemBox")[0]; | ||
var image = element.getElementsByClassName("item_image")[0]; | ||
if (itemNo == "0"){ | ||
image.src = "_static/images/animation.gif"; | ||
} else { | ||
image.src = "_static/images/nband"+itemNo+".png"; | ||
} | ||
element.style.display = "block"; | ||
|
||
} | ||
</script> |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
numpy >= 1.16 | ||
scipy >= 1.1.0 | ||
matplotlib >= 3.0 | ||
sphinx>=1.7.5 |
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