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
Alpine Data Labs 30.2% (60) 34.2% (68) 35.7% (71) 1.94 199 | |
Bright.com 25.4% (54) 48.4% (103) 26.3% (56) 1.99 213 | |
Cloudant 93.3% (1349) 3.5% (50) 3.3% (47) 2.90 1446 | |
Cloudera 30.1% (241) 47.2% (378) 22.7% (182) 2.07 801 | |
Cloudmeter 87.2% (444) 7.9% (40) 5.3% (27) 2.83 509 | |
CloudPhysics 75.6% (341) 14.9% (67) 10.4% (47) 2.67 451 | |
Concurrent 16.2% (22) 42.6% (58) 41.2% (56) 1.75 136 | |
Continuum Analytics 59.6% (133) 17.0% (38) 23.3% (52) 2.36 223 | |
Datameer 57.5% (226) 21.1% (83) 21.4% (84) 2.36 393 | |
DataSift 12.5% (12) 47.9% (46) 39.6% (38) 1.73 96 |
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
//paste this into a ROOT macro, or the interpreter directly | |
gSystem.Load("libkds") | |
KHLAEvent *ehla = KEventFactory::NewHLAEvent() | |
KAmpEvent *eamp = KEventFactory::NewAmpEvent() | |
eamp->SetEventTriggerStamp(100) | |
eamp->AddBolo() | |
// (class KAmpBolometerRecord*)0x7fbbeacd1ee0 |
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
First, I start with a reminder of the raw data structure and amp level data structure. (I won't include the Muon Modules…). TCA = TClonesArray | |
KRawEvent | |
-- TCA of KRawBolometerRecords | |
- detector name, mass, etc.. | |
- TRefArray links to KRawBoloPulseRecords | |
- TRef link to KRawSambaRecord | |
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
#!/usr/bin/env python | |
import couchdbkit | |
import ROOT | |
import sys | |
import KDataPy.samba_utilities as sutil | |
import KDataPy.util as kutil | |
from os import listdir | |
from os.path import isfile, join | |
import numpy as np |
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
import couchdbkit | |
db = couchdbkit.Server('https://edelweiss.cloudant.com')['datadb'] | |
lrdoc = db.list('datasort/conditionfilter', 'datasort/conditionbolorun', temperature=1, min=0.018, max=0.0185, startkey=["fond chateau ferme", "FID808", "mj00"], endkey=["fond chateau ferme", "FID808", "mk32"], reduce=False) | |
for row in lrdoc['results']: | |
print 'File %s, File Size [MB] %f, Temperature [K] %f' % (row['value'][1], row['value'][2]/1024./1024., row['value'][0]) |
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
import os, glob | |
flist = glob.glob("i*") | |
for f in flist: | |
os.symlink(os.path.join(os.getcwd(), f), os.path.join('/usr/local/bin/', f)) | |