-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
87 lines (71 loc) · 3.66 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html ng-app="psvelApp">
<head>
<title>d3-based Velocity Picker</title>
<script src="bower_components/d3/d3.min.js" charset="utf-8"></script>
<script src="bower_components/angular/angular.min.js" charset="utf-8"></script>
<script type="text/javascript" src="app/app.js" charset="utf-8"></script>
<script type="text/javascript" src="app/d3velan.js" charset="utf-8"></script>
<script type="text/javascript" src="app/d3seis.js" charset="utf-8"></script>
<script type="text/javascript" src="app/d3fold.js" charset="utf-8"></script>
<script type="text/javascript"
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
<link href="app/chart.css" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
</head>
<body>
<div ng-controller="MainCtrl as mainctrl">
<div class="well">
<h1>SU Velocity Picker <small>v.{{mainctrl.version}}</small></h1>
<div>
Starting Velocity (units/s):
<input type="number" ng-model="mainctrl.fv" min="1500" max="10000">
Velocity Increment (units/s):
<input type="number" ng-model="mainctrl.dv" min="10" max="500">
Number of Velocities:
<input type="number" ng-model="mainctrl.nv" min="10" max="100"></br>
Will calculate semblance for {{mainctrl.nv}} velocities from {{mainctrl.fv}} to {{mainctrl.fv + mainctrl.dv * (mainctrl.nv - 1)}}
</div>
<input style="display:none" type="file" id="openfile" accept=".su,.segy,.sgy"></input>
<input style="display:none" type="file" id="savefile" accept=".pks,.json,.txt" nwsaveas></input>
<button class="btn btn-primary btn-lg" ng-click="mainctrl.open()" ng-disabled="!mainctrl.wsIsOpen">Open SU File</button>
<button class="btn btn-primary btn-lg" ng-click="mainctrl.save()">Save Picks...</button>
<div class="well">
<d3-fold ng-if="mainctrl.cdpfold" data="mainctrl.cdpfold"></d3-fold>
</div>
<div>
Number of Ensembles: {{mainctrl.nens}}, Ensemble 0:{{mainctrl.ens0}},
Ensemble N: {{mainctrl.ensN}}</br>
Current Ens<input type="number" min="mainctrl.ens0" max="mainctrl.ensN" ng-model="mainctrl.currEns">
<button class="btn btn-primary btn-large" ng-click="mainctrl.getens()">Request CDP</button>
</div>
<div class="well">
<h2 ng-if="mainctrl.cdp" align="center">CDP {{mainctrl.cdp}}</h2>
<d3-seis ng-if="mainctrl.orig" test="mainctrl.test1" data="mainctrl.orig" tv="mainctrl.tv"></d3-seis>
<d3-velan ng-if="mainctrl.data" data="mainctrl.data" setpicks="mainctrl.setpicks(picks)" settv="mainctrl.settv(tv)"></d3-velan>
<d3-seis ng-if="mainctrl.nmodata" test="mainctrl.test2" data="mainctrl.nmodata"></d3-seis>
<div ng-if="mainctrl.data" id="tooltip">
<p><span id="value"></span>
</p>
</div>
</div>
<div class="well">
<h3>Mouse</h3>
Mouse click picks NMO velocity; and SHIFT-click deletes the pick.
<h3>Keys</h3>
<h4>Cursor motion</h4>
<kbd>h</kbd> / <kbd>l</kbd> - left/right;
<kbd>j</kbd> / <kbd>k</kbd> - down/up.
Capital versions move by 10x; i.e. <kbd>H</kbd> moves by
10 traces where <kbd>h</kbd> move by 1.
<h4>Display</h4>
<kbd>z</kbd> / <kbd>Z</kbd> - zoom in or out in time;
<kbd>t</kbd> / <kbd>T</kbd> - zoom in or out in offset;
<kbd>y</kbd> / <kbd>Y</kbd> - trace gain up or down.
</div>
</div>
</div>
</div>
</body>
</html>