code
stringlengths
3
6.57k
np.sqrt(x1factor**2 + y1factor**2 + z1factor**2)
np.sqrt(x2factor**2 + y2factor**2 + z2factor**2)
np.sqrt(x3factor**2 + y3factor**2 + z3factor**2)
caput(pv.me14e_pmac_str, '!x0y0z0')
sleep(2.5)
caput(pv.me14e_pmac_str, '&2')
caput(pv.me14e_pmac_str, cs1)
caput(pv.me14e_pmac_str, cs2)
caput(pv.me14e_pmac_str, cs3)
caput(pv.me14e_pmac_str, '!x0y0z0')
sleep(0.1)
caput(pv.me14e_pmac_str, '#1hmz#2hmz#3hmz')
sleep(0.1)
type(chip_type)
str(chip_type)
caput(pv.me14e_pmac_str, '!x0.4y0.4')
sleep(0.1)
caput(pv.me14e_pmac_str, '#1hmz#2hmz#3hmz')
caput(pv.me14e_pmac_str, '#1hmz#2hmz#3hmz')
cs_reset()
join([cs1, cs2, cs3])
caput(pv.me14e_pmac_str, '&2')
sleep(0.5)
caput(pv.me14e_pmac_str, cs1)
sleep(0.5)
caput(pv.me14e_pmac_str, cs2)
sleep(0.5)
caput(pv.me14e_pmac_str, cs3)
main(args)
initialise()
pvar_test(chipid)
moveto(args[2])
fiducial(args[2])
cs_maker()
write_parameter_file()
startup.run()
define_current_chip(chipid)
load_stock_map(map_choice)
load_lite_map()
load_full_map()
save_screen_map()
upload_full()
upload_parameters(chipid)
cs_reset()
main(sys.argv)
use_setuptools()
os.path.abspath(os.path.dirname(__file__)
open(os.path.join(cdir, 'readme.rst')
read()
open(os.path.join(cdir, 'changelog.rst')
read()
open(os.path.join(cdir, 'blazeweb', 'version.txt')
read()
strip()
required_packages.append('simplejson>=2.1.1')
join((README, CHANGELOG)
find_packages(exclude=['tests'])
Copyright (C)
QGuiApplication(sys.argv)
QTimer()
timer.start(2000)
QQuickView()
os.path.join(os.path.dirname(__file__)
view.setSource(QUrl.fromLocalFile(os.path.abspath(qmlFile)
view.status()
sys.exit(-1)
view.rootObject()
timer.timeout.connect(root.updateRotater)
view.show()
app.exec_()
sys.exit(res)
int(input("Enter the number of items: ")
int(input("Enter the number of items per box: ")
math.ceil(items / items_box)
print(f"For {items} items, packing {items_box} items in each box, you will need {boxes} boxes.")
__init__(self, interleaver)
len(self.interleaver)
RSC()
reset(self)
e.reset()
interleave(self, vector)
np.zeros(self.block_size, dtype=int)
range(0, self.block_size)
execute(self, vector)
len(vector)
len(self.encoders[0].registers)
np.zeros(output_size, dtype=int)
self.interleave(vector)
execute(vector)
execute(interleaved)
Scanner(package.Package)
__init__(self, url, name, auther)
super()
__init__(url, name, auther)
ScannerFactory(package.PackageFactory)
__init__(self)
_generate(self, url, name, auther)
Scanner(url=url, name=name, auther=auther)
speed_test(strategy, cfg, split='val', n=1000)
strategy.scope()