-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·307 lines (279 loc) · 11.5 KB
/
index.html
File metadata and controls
executable file
·307 lines (279 loc) · 11.5 KB
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
<!DOCTYPE html>
<html>
<!--- HEAD --->
<head>
<meta charset="UTF-8">
<link href="style/main.css" rel="stylesheet">
<link href="style/index.css" rel="stylesheet">
<link href="icons/easydiffraction.ico" rel="shortcut icon" type="image/x-icon">
<title>easyDiffraction</title>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-153564910-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-153564910-1');
</script>
</head>
<!--- HEAD --->
<!--- SCRIPT --->
<!--- https://stackoverflow.com/questions/20922085/show-or-hide-div-based-on-os --->
<script>
function getOS() {
var userAgent = window.navigator.userAgent,
platform = window.navigator.platform,
macosPlatforms = ['MacIntel'], // ['Macintosh', 'MacIntel', 'MacPPC', 'Mac68K']
windowsPlatforms = ['Win32', 'Win64', 'Windows'], // ['Win32', 'Win64', 'Windows', 'WinCE']
iosPlatforms = ['iPhone', 'iPad', 'iPod'],
os = null;
if (macosPlatforms.indexOf(platform) !== -1) {
os = 'osx';
} else if (iosPlatforms.indexOf(platform) !== -1) {
os = 'ios';
} else if (windowsPlatforms.indexOf(platform) !== -1) {
os = 'windows';
} else if (/Android/.test(userAgent)) {
os = 'android';
} else if (!os && /Linux/.test(platform)) {
os = 'linux';
}
return os;
}
function showDownload() {
if (getOS() === "windows") {
document.getElementById('windows').style.display = "inline-block";
document.getElementById('osx').style.display = "none";
document.getElementById('linux').style.display = "none";
document.getElementById('snap').style.display = "none";
} else if (getOS() === "osx") {
document.getElementById('windows').style.display = "none";
document.getElementById('osx').style.display = "inline-block";
document.getElementById('linux').style.display = "none";
document.getElementById('snap').style.display = "none";
} else if (getOS() === "linux") {
document.getElementById('windows').style.display = "none";
document.getElementById('osx').style.display = "none";
document.getElementById('linux').style.display = "inline-block";
document.getElementById('snap').style.display = "inline-block";
} else {
document.getElementById('windows').style.display = "inline-block";
document.getElementById('osx').style.display = "inline-block";
document.getElementById('linux').style.display = "inline-block";
document.getElementById('snap').style.display = "inline-block";
}
}
function showAllDownloads() {
document.getElementById('windows').style.display = "inline-block";
document.getElementById('osx').style.display = "inline-block";
document.getElementById('linux').style.display = "inline-block";
document.getElementById('snap').style.display = "inline-block";
}
</script>
<!--- SCRIPT --->
<!--- BODY --->
<body onload="showDownload()">
<!--- header with navigation --->
<header>
<section>
<nav>
<ul>
<li><a class="active" href="index.html"><img src="icons/easydiffraction.svg">easyDiffraction</a></li>
<li><a href="documentation.html"><img src="icons/book-reader.svg">Documentation</a></li>
<li><a href="contact.html"><img src="icons/envelope.svg">Contact</a></li>
</ul>
</nav>
</section>
</header>
<!--- header with navigation --->
<!--- main --->
<div class="main">
<!--- intro area --->
<div class="intro-area">
<!--- logo area --->
<div class="logo-area">
<section>
<img src="images/easydiffraction-logo.svg">
<img src="images/easydiffraction-text.svg">
</section>
</div>
<!--- logo area --->
<!--- motto area --->
<div class="motto-area">
<section>
<span>Making diffraction data analysis and<br>modelling easy</span>
</section>
</div>
<!--- motto area --->
<!--- prototype area --->
<div class="prototype-area">
<section>
<!--- <p><img src="icons/cogs.svg">Currently available as a prototype: Version 0.7.0 (15 May 2020)</p> --->
<p>
Version: <a href="https://github.com/easyDiffraction/easyDiffraction/releases/tag/v0.7.0">0.7.0 (15 May 2020)</a><br />
DOI: <a href="https://doi.org/10.5281/zenodo.3580878">10.5281/zenodo.3828930</a>
</p>
</section>
</div>
<!--- prototype area --->
<!--- download area --->
<div class="download-area">
<section>
<article id='osx'>
<button onclick="location.href='https://github.com/easyDiffraction/easyDiffraction/releases/download/v0.7.0/easyDiffraction_osx_v0.7.0.zip'">
<img src="icons/macos.svg">
<div>Download for<span>macOS</span></div>
</button>
<div>macOS 10.13 and above, 64-bit</div>
</article>
<article id='windows'>
<button onclick="location.href='https://github.com/easyDiffraction/easyDiffraction/releases/download/v0.7.0/easyDiffraction_windows_v0.7.0.zip'">
<img src="icons/windows.svg">
<div>Download for<span>Windows</span></div>
</button>
<div>Windows 10 and above, 64-bit</div>
</article>
<article id='linux'>
<button onclick="location.href='https://github.com/easyDiffraction/easyDiffraction/releases/download/v0.7.0/easyDiffraction_linux_v0.7.0.zip'">
<img src="icons/ubuntu.svg">
<div>Download for<span>Ubuntu</span></div>
</button>
<div>Ubuntu 18.04, 64-bit</div>
</article>
<article id='snap'>
<button onclick="location.href='https://snapcraft.io/easydiffraction'">
<img alt="Get it from the Snap Store" src="https://snapcraft.io/static/images/badges/en/snap-store-black.svg" />
</button>
<div>Universal Linux packages</div>
</article>
<p><a onclick="showAllDownloads()">Show all downloads</a></p>
</section>
</div>
<!--- download area --->
<!--- screenshot area --->
<div class="screenshot-area">
<section>
<figure><img src="images/easydiffraction-screenshot.png"></figure>
</section>
</div>
<!--- screenshot area --->
<!--- description area --->
<div class="description-area">
<section>
<p><b>easyDiffraction</b> is scientific software for modelling and analysis of neutron diffraction data, i.e.,
simulation of diffraction pattern based on structural model and refinement of its parameters.
<b>easyDiffraction</b> is similar to crystallographic programs like FullProf, Jana, GSAS, ShelX, etc.
However, unlike them, <b>easyDiffraction</b> is based on external crystallographic libraries, such as CrysPy to
cover different functionality aspects within a single intuitive and user-friendly graphical interface.
<a href="umanual_intro.html#1.1.-what-is-easydiffraction-for?">Learn more</a></p>
</section>
</div>
<!--- description area --->
<!--- features area --->
<div class="features-area">
<section>
<article>
<img src="icons/open-source.svg">
<h3>Free and open-source</h3>
<p>Anyone is free to use easyDiffraction and the source code is openly shared on GitHub.</p>
<a href="umanual_intro.html#1.2.-free-and-open-source">Learn more</a>
</article>
<article>
<img src="icons/cross-platform.svg">
<h3>Cross-platform</h3>
<p>easyDiffraction works across operating systems: macOS, Windows, or Linux.</p>
<a href="umanual_intro.html#1.2.-cross-platform">Learn more</a>
</article>
<article>
<img src="icons/thumbs-up.svg">
<h3>Easy to use</h3>
<p>Intuitive tabbed interface with built-in step-by-step user guides, and a clear workflow
help speed up data modelling and analysis.</p>
<a href="umanual_intro.html#1.2.-easy-to-use">Learn more</a>
</article>
<article>
<img src="icons/delivery-package.svg">
<h3>Everything is included</h3>
<p>easyDiffraction is distributed as an all-in-one package that includes all the dependencies
and can be installed with only a few clicks.</p>
<a href="umanual_intro.html#1.2.-everything-is-included">Learn more</a>
</article>
<article>
<img src="icons/swiss-pocket-knife.svg">
<h3>Multi-functional</h3>
<p>easyDiffraction integrates existing crystallographic libraries, such as CrysPy
(more will be added soon), to cover different functionality.</p>
<a href="umanual_intro.html#1.2.-multi-functional">Learn more</a>
</article>
<article>
<img src="icons/boxes.svg">
<h3>Various techniques</h3>
<p>We started with 1D neutron powder diffraction at constant wavelength.
Single-crystal, 2D, Time-of-Flight, and so on, will be added later.</p>
<a href="umanual_intro.html#1.2.-various-techniques">Learn more</a>
</article>
<article>
<img src="icons/update-arrows.svg">
<h3>Live update of calculations</h3>
<p>You can modify any parameter manually or with a slider, and the simulated model curve
is automatically recalculated in real time.</p>
<a href="umanual_intro.html#1.2.-live-update">Learn more</a>
</article>
<article>
<img src="icons/user.svg">
<h3>Human-readable syntax</h3>
<p>Input/output files are in simple and human-readable data format STAR/CIF
with the specifications of International Union of Crystallography, where possible.</p>
<a href="umanual_intro.html#1.2.-cif-based-format">Learn more</a>
</article>
</section>
</div>
<!--- features area --->
</div>
<!--- intro area --->
</div>
<!--- main --->
<!--- footer with navigation --->
<footer>
<section>
<nav>
<ul>
<li>2020 <a href="index.html">easyDiffraction.org</a></li>
<li>•</li>
<li><a href="https://github.com/easyDiffraction/easyDiffraction"><img src="icons/github.svg">GitHub</a></li>
<li>•</li>
<li>Designed by <a href="http://sazonov.org">Andrew Sazonov</a></li>
</ul>
</nav>
</section>
</footer>
<!--- footer with navigation --->
<!--- slideshow --->
<!---
<script>
let currentIndex = 0
carousel()
function carousel() {
let slide = document.getElementsByClassName("slide")
// hide all slides
for (let i = 0; i < slide.length; i++) {
slide[i].classList.remove('active')
}
// get to next slide, if last - go to first
currentIndex++
if (currentIndex > slide.length - 1) {
currentIndex = 0
}
// display new slide
slide[currentIndex].classList.add('active')
// call itself again
setTimeout(carousel, 5000)
}
</script>
--->
<!--- slideshow --->
<!--- BODY --->
</body>
</html>