Name | Language |
---|---|
Al-Qahira | Arabic, Indonesian, Malay |
Ares | Greek |
Auqakuh | Quechua (Inca) |
Bahram | Persian |
Harmakhis | Ancient Egyptian |
Her Desher | Egyptian |
Hrad | Armenian |
Huo Hsing | Chinese |
This file contains hidden or 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
{"timestamp": 1342017484, "nanoseconds": 724389247, "events": [{"status": "on", "timestamp": 1342017484, "nanoseconds": 724389232, "lon": 4.8131896836700001, "detectors": 4, "number": 105, "integrals": [24921.539999999997, 11109.869999999999, -0.56999999999999995, -0.56999999999999995], "mips": [5.070149999999999, 3.3544499999999999, -0.0028499999999999997, -0.0028499999999999997], "lat": 52.448649414999998, "pulseheights": [1014.0299999999999, 670.88999999999999, -0.56999999999999995, -0.56999999999999995], "alt": 60.003253926500001, "traces": [[-1.71, -1.71, -1.71, -1.71, -1.71, -1.71, -2.2799999999999998, -49.019999999999996, -173.27999999999997, -406.97999999999996, -642.38999999999999, -833.33999999999992, -943.91999999999996, -1006.6199999999999, -1015.7399999999999, -992.36999999999989, -961.58999999999992, -948.4799999999999, -946.76999999999987, -939.3599999999999, -910.8599999999999, -860.69999999999993, -817.94999999999993, -788.30999999999995, -742.13999999999999, -694.82999999999993, -669.1799999 |
This file contains hidden or 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
# It seems slightly faster to skip getting the groups/tables | |
import timeit | |
r = timeit.Timer(stmt="read = tables.openFile('Angle_120301_120314.h5', 'r');" | |
"group = read.root.s503;" | |
"blobs = group.blobs;" | |
"events = group.events;" | |
"event = events[-1];" | |
"trace_id = event['traces'];" |
This file contains hidden or 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
import timeit | |
r_relative = timeit.Timer(stmt="read = tables.openFile('[path relative to cwd].h5', 'r'); read.close()", setup='import tables') | |
min(r_relative(2000, 100)) | |
# 0.04840588569641113 | |
r_absolute = timeit.Timer(stmt="read = tables.openFile('[path starting with /].h5', 'r'); read.close()", setup='import tables') | |
min(r_absolute.repeat(2000, 100)) | |
# 0.00023484230041503906 |
This file contains hidden or 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
open -a Google\ Chrome --args --disable-web-security |
This file contains hidden or 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
import tables | |
from sapphire.simulations.base import BaseSimulation | |
from sapphire.clusters import ScienceParkCluster | |
datafile = tables.openFile('/tmp/test_base_simulation.h5', 'w') | |
cluster = ScienceParkCluster() | |
sim = BaseSimulation(cluster, datafile, '/simulations/this_run', 10) | |
sim.run() |
This file contains hidden or 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
import tables | |
data = tables.openFile('2013_8_1.h5', 'r') | |
c_index = data.root.coincidences.c_index | |
s_index = data.root.coincidences.s_index | |
clusters = [s_group.split('/')[2][8:] for s_group in s_index[:]] | |
stations = [s_group.split('/')[3][8:] for s_group in s_index[:]] |
Escape twice, once using quotes and once using backslashes
Use:
scp [user]@[server]:"[filepath]" [destination]
Example:
scp [email protected]:"/Volumes/disk/file\ with\ space\ (and\ specials)" Here_please/
This file contains hidden or 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
var station_info; | |
var coincidences; | |
var c_idx = 0; | |
var map = L.map('map'); | |
var svg = d3.select(map.getPanes().overlayPane).append("svg"), | |
g = svg.append("g").attr("class", "leaflet-zoom-hide"); | |
function x(coord) { return map.latLngToLayerPoint(coord).x }; | |
function y(coord) { return map.latLngToLayerPoint(coord).y }; |
OlderNewer