forked from M-Labs/artiq
1
0
Fork 0
Commit Graph

2571 Commits

Author SHA1 Message Date
Robert Jördens 0857cfdcb1 short_format: cover a few more numpy types correctly 2016-05-22 16:53:39 +02:00
Robert Jördens 9e681590cb pyon: ship ndarray data as bytes
this is about 3 times faster and since the encapsulating nparray() already
breaks json-compatibility, using a unicode string for json compatibility
is not necessary
2016-05-22 16:53:37 +02:00
Robert Jördens a9434d2e9f pyon: use dtype.str
* contains endianess, makes this portable
* it's shorter
* it's what the numpy array interfaces uses
* this is otherwise backwards and forwards compatible
2016-05-22 16:52:59 +02:00
Sebastien Bourdeauducq 3d6f55104b coredevice/TCA6424A: convert 'outputs' value to little endian. Closes #437 2016-05-22 06:53:18 -07:00
Sebastien Bourdeauducq 852ddb7796 bit2bin: close input file explicitly 2016-05-21 21:50:08 +08:00
Sebastien Bourdeauducq 65c835e991 Revert "flash: close tempfile before deleting (#256)"
This reverts commit 5f11dbf319.
2016-05-21 00:19:54 +08:00
Sebastien Bourdeauducq 5f11dbf319 flash: close tempfile before deleting (#256) 2016-05-21 00:09:31 +08:00
Robert Jördens 5f7f4ed398 browser: wire up log dock 2016-05-20 16:12:11 +02:00
Robert Jördens af317f9b64 gui.models: clean up LocalModelManager a bit 2016-05-20 16:12:11 +02:00
Robert Jördens 9c30f62790 browser: log_worker_exception 2016-05-20 16:12:11 +02:00
Robert Jördens 3db1a7cf01 browser: log stub 2016-05-20 16:12:11 +02:00
Robert Jördens e5a75ea0f4 gui.log: export LogDock 2016-05-20 16:12:11 +02:00
Robert Jördens 7a71939201 dashboard.log -> gui.log 2016-05-20 16:12:11 +02:00
Robert Jördens 8ab6011ddb browser: move 'open experiment' to menu 2016-05-20 16:12:11 +02:00
dhslichter 141edb521a qc2: swap SPI/TTL, all TTL lines are now In+Out compatible 2016-05-19 10:42:03 +08:00
Robert Jördens 109ddf919e flash: tcl-quote paths (c.f. #256) 2016-05-16 23:15:12 +02:00
Robert Jördens 18878ba050 flash: use the handle 2016-05-16 22:02:11 +02:00
Robert Jördens 3ae44e762f flash: close files (c.f. #256) 2016-05-16 21:30:53 +02:00
whitequark 355af3e569 embedding: specialize inherited functions.
Fixes #414.
2016-05-16 15:59:26 +00:00
whitequark 640022122b embedding: refactor some more. 2016-05-16 14:38:09 +00:00
whitequark d085d5a372 embedding: refactor. 2016-05-16 14:38:09 +00:00
whitequark c94c411fd5 compiler: demangle symbols.
In future commits we'll add Itanium C++ ABI style mangling to ARTIQ
emitted function names.
2016-05-16 14:38:09 +00:00
Robert Jördens 8bff8075de browser: clean up 2016-05-16 11:46:14 +02:00
Robert Jördens ecdbf2ae08 browser: wire up activate in list 2016-05-16 11:45:13 +02:00
Robert Jördens f1747b5ea5 browser: only load args from first file 2016-05-16 11:27:51 +02:00
Robert Jördens fe69712cc5 browser: dis/enable analyze/terminate buttons 2016-05-13 15:43:02 +02:00
Robert Jördens 633c36336c browser: rm status bar 2016-05-13 15:28:36 +02:00
Robert Jördens 5b5c9b2bb7 browser: pass mods to applets (closes #434) 2016-05-13 15:27:23 +02:00
Robert Jördens 260390b75f browser: set objectName for toolbar 2016-05-12 19:20:52 +02:00
Robert Jördens 5e094528c1 browser: toolbar, rm mdiarea tooltip (closes #433) 2016-05-12 19:06:33 +02:00
Robert Jördens 07b80cc5ab browser: basic analyze() 2016-05-12 18:44:03 +02:00
Robert Jördens 1480bb5630 browser: style 2016-05-12 18:43:05 +02:00
Robert Jördens 8185a3d701 flopping_f_simulation: style 2016-05-12 18:31:30 +02:00
Robert Jördens 2a5eaea411 flopping_f_simulation: use ufuncs in model() 2016-05-12 18:30:52 +02:00
Robert Jördens 5d58258bf2 examples: reconstruct scans when analyze()ing HDF5 files 2016-05-12 12:59:36 +02:00
Robert Jördens cd1304547d browser: analyze stubs 2016-05-11 15:37:09 +02:00
whitequark 0826ceb8ba Commit missing parts of a5bb4a24. 2016-05-10 02:12:57 +00:00
whitequark a5bb4a24af compiler: support short form of raise.
Fixes #240.
2016-05-10 01:41:40 +00:00
whitequark 6d29e768a5 Commit missing parts of 4e5d75295. 2016-05-09 12:51:24 +00:00
whitequark 4e5d752951 compiler: fix quoting of methods (fixes #423). 2016-05-09 12:25:57 +00:00
Robert Jördens 4c78bb4950 browser: cleanup 2016-05-09 00:32:15 +02:00
Robert Jördens 4fee2055a5 browser: fixes/string style 2016-05-08 23:43:33 +02:00
Robert Jördens 02b54930a9 browser: examine can fail 2016-05-08 23:32:22 +02:00
Robert Jördens 904db4923c dashboard/experiments: style 2016-05-08 18:14:01 +02:00
Robert Jördens c5fcb6b8d5 dashboard: use get_open_file_name 2016-05-08 18:14:01 +02:00
Robert Jördens c44e786cc5 browser: open experiments on lmb 2016-05-08 18:14:01 +02:00
Robert Jördens 66927da70c browser: add HDF5 to experiment DND 2016-05-08 00:06:58 +02:00
Robert Jördens 4016e5adaa browser: support opening experiments 2016-05-07 23:22:39 +02:00
Robert Jördens 5332c198c2 gui/tools: add getOpenFileName 2016-05-07 19:01:14 +02:00
Robert Jördens 47c7b04ac6 browser: experiment dock cleanup 2016-05-07 12:53:37 +02:00
Robert Jördens ee8160863a browser: experiment dock stubs 2016-05-07 12:53:37 +02:00
Robert Jördens 77b84a7979 browser: move exp mgmt to mdi area 2016-05-07 12:53:37 +02:00
Robert Jördens 9ef282636a browser: don't open experiments from data list view 2016-05-07 12:53:37 +02:00
Robert Jördens 9f1bef1c81 browser: open experiments from mdiarea 2016-05-07 12:53:37 +02:00
Robert Jördens d99d19dd3a browser: stubs for experiment editors 2016-05-07 12:53:37 +02:00
Robert Jördens 0c74034f4d browser: tiny simplification 2016-05-07 12:53:37 +02:00
Sebastien Bourdeauducq 2b506a3c4b examples/photon_histogram: delay after count() 2016-05-07 18:28:07 +08:00
Sebastien Bourdeauducq 2b447055e5 lwip/liteethif: cleanup, drop frames above MTU (#398) 2016-05-07 17:42:22 +08:00
Sebastien Bourdeauducq ccdfa1eff3 examples/photon_histogram: integers 2016-05-07 17:40:44 +08:00
Sebastien Bourdeauducq dec323b097 gui/applets: catch duplicate applet UIDs (#430) 2016-05-07 11:47:17 +08:00
Sebastien Bourdeauducq bcfb01bc7e gui: set application name in Gnome task switcher
Non-hacky suggestions welcome.
2016-05-06 17:23:44 +08:00
Sebastien Bourdeauducq 597d7c389e dashboard: support reloading arguments from HDF5 2016-05-05 00:51:30 +08:00
Sebastien Bourdeauducq c50555e11c worker: use unix time for HDF5 start_time 2016-05-03 21:29:54 +08:00
Robert Jördens 7976127f6c examples/transport: add slack between experiments/after count() 2016-05-03 10:42:12 +02:00
Sebastien Bourdeauducq 90e678a442 gateware/nist_qc2: increase DDS bus drive strength. Closes #421 2016-05-03 16:29:38 +08:00
Sebastien Bourdeauducq 136dc7039e language/environment: update kernel_invariants in setattr_argument and setattr_device 2016-05-03 16:27:42 +08:00
Sebastien Bourdeauducq 5efa5f5265 style 2016-05-03 16:24:01 +08:00
Robert Jördens ff721ff136 Revert "lwip: set MTU to 9000 to support jumbo frames"
This reverts commit dbbd11d798.

Breaks more than it fixes.
2016-04-30 08:20:47 +02:00
Sebastien Bourdeauducq de73bd1998 gui/moninj: sort by channel. Closes #413 2016-04-30 10:46:56 +08:00
Sebastien Bourdeauducq dbbd11d798 lwip: set MTU to 9000 to support jumbo frames 2016-04-30 00:30:24 +08:00
Sebastien Bourdeauducq fc4effb91d update logo 2016-04-30 00:30:24 +08:00
Sebastien Bourdeauducq 9707981c07 targets/kc705: fix default -H option 2016-04-30 00:30:24 +08:00
whitequark f7d83e9bdf compiler: make kernel_invariant an instance, not class, property.
Fixes #409.
2016-04-29 13:06:11 +00:00
Sebastien Bourdeauducq 434ad67268 doc/environment: datasets readonly in build 2016-04-27 01:43:55 +08:00
whitequark aa0882a06f embedding: ignore empty lines, like annotations, before kernel functions.
Fixes #363.
2016-04-26 02:25:08 +00:00
whitequark a88425b66b compiler: allow RPCing builtin functions.
Fixes #366.
2016-04-26 01:31:17 +00:00
whitequark 1464bae6b7 compiler: don't typecheck RPCs except for return type.
Fixes #260.
2016-04-26 01:12:36 +00:00
Sebastien Bourdeauducq 063639662e applets: also accept '/' as dataset path separator for completion 2016-04-25 00:04:40 +08:00
Sebastien Bourdeauducq e91961fbae applets: dataset name completion 2016-04-24 23:51:55 +08:00
Robert Jördens ec5eca0111 pyon: no float128 on windows 2016-04-24 15:44:48 +02:00
Robert Jördens aee4859982 influxdb: fix numpy scalar bool, uints, str
* use types from the numpy hierarchy because e.g. np.issubtype(np.uint64, int) == False
* streamline influxdb formatting
* tested with influxdb 0.12
2016-04-24 15:15:16 +02:00
Robert Jördens a0d2dab594 test/pyon: arrays and complex types 2016-04-24 14:27:24 +02:00
Robert Jördens 22946a0c2f pyon: complex types 2016-04-24 14:24:41 +02:00
Robert Jördens 86681dccff influxdb: use queue insertion time 2016-04-24 13:11:46 +02:00
Robert Jördens aadcf0fe98 influxdb: consistency is gone 2016-04-24 12:38:47 +02:00
Robert Jördens 6c5382d43f influxdb: ms precision
* better compression
* we don't timestamp the change any better (network, queue, http)
2016-04-24 12:36:00 +02:00
Robert Jördens 06b8666a53 influxdb: just strip() response 2016-04-24 12:35:30 +02:00
Sebastien Bourdeauducq 3cfef4264b frontend: upper-case positional arguments in help messages 2016-04-22 16:33:44 +08:00
Robert Jördens 1dde911618 browser: dump tree header, fix root path setting 2016-04-21 21:14:22 +02:00
whitequark 5cccdcaad6 coredevice: deserialize int64(width=64) as int(width=64), not host_int.
Fixes #402.
2016-04-21 18:59:54 +00:00
Robert Jördens 9a01d38439 browser: cleanup late select, align options with variables 2016-04-20 19:16:19 +02:00
Robert Jördens 3578ba17a3 browser: zommable file icons 2016-04-20 18:11:04 +02:00
Robert Jördens 7be3ffe79f scanwidget: spelling 2016-04-20 16:29:39 +02:00
Robert Jördens c9daa50591 browser: PATH metavar 2016-04-20 16:23:47 +02:00
Robert Jördens 89772c6461 browser: resize-adjust list 2016-04-20 16:05:12 +02:00
Robert Jördens 2f2461854f browser: use activated 2016-04-20 15:39:23 +02:00
Robert Jördens 856706188f browser: be arrogant re changing state dump formats 2016-04-20 13:57:12 +02:00
Robert Jördens 3d393e4654 browser: add root dir option, load only one file on restore 2016-04-20 13:46:03 +02:00
Robert Jördens 40b47b8440 browser: robustify loading 2016-04-20 13:20:57 +02:00
Robert Jördens 5ebdd5c106 browser: save/restore rootIndex 2016-04-20 13:20:57 +02:00
Robert Jördens 0b1b99be8a browser: double click 2016-04-20 13:20:57 +02:00
Robert Jördens ba24bbc8ed browser: expid from h5 2016-04-20 13:20:57 +02:00
Robert Jördens 686f670a3c browser: redo tree/list models 2016-04-20 13:20:57 +02:00
Robert Jördens f09bfa258d Revert "browser: simplify and fix state restore"
This reverts commit b00089c3d3.
2016-04-20 13:20:57 +02:00
Robert Jördens 1f92e034da Revert "browser: various fixes, handle startup path, connect activated"
This reverts commit c80510287b.
2016-04-20 13:20:33 +02:00
Sebastien Bourdeauducq c80510287b browser: various fixes, handle startup path, connect activated 2016-04-20 18:25:43 +08:00
Sebastien Bourdeauducq b00089c3d3 browser: simplify and fix state restore 2016-04-20 12:07:08 +08:00
Sebastien Bourdeauducq 0cf6df1933 master/experiments: log more details about experiment name conflicts 2016-04-16 21:36:21 +08:00
Sebastien Bourdeauducq b74aa12351 master/worker_db: rethrow DeviceError exception with device name on device creation failure. Closes #396 2016-04-16 19:55:08 +08:00
Sebastien Bourdeauducq caf774579a environment: refactor 2016-04-16 19:31:07 +08:00
Sebastien Bourdeauducq 12a8c76df9 environment,worker: remove enable_processors 2016-04-16 14:21:01 +08:00
Sebastien Bourdeauducq dc44aad411 environment: make NumberValue return integers when appropriate. Closes #397 2016-04-16 14:20:45 +08:00
Sebastien Bourdeauducq d4ba525c9d gui,browser: save state in home folder 2016-04-15 19:05:12 +08:00
Sebastien Bourdeauducq e1a229028d test/analyzer: clear analyzer buffer after IO init 2016-04-15 01:18:36 +08:00
Sebastien Bourdeauducq 848c86e8a4 master: group results by hour, not by minute 2016-04-15 01:13:53 +08:00
Robert Jördens 511913230f test_analyzer: loop_out.off() 2016-04-14 22:57:16 +08:00
Robert Jördens b36eded2e1 remote_exec_processing: style 2016-04-14 19:06:01 +08:00
Robert Jördens 4a297f0c42 browser: s/results/files/ 2016-04-14 17:55:44 +08:00
Sebastien Bourdeauducq 212ee8ca35 gateware/nist_qc2: substitute FMC 2016-04-14 01:02:34 +08:00
dhslichter f395a630e0 Updated qc2 pinouts for SPI and 2x DDS bus, update docs 2016-04-13 18:38:34 +08:00
Robert Jördens 5788c02a10 examples: move pdq2 frame selects away from TTLInOut ttl3 2016-04-12 19:41:06 +08:00
Robert Jördens d42ef46471 test: set inputs to input(), should close #383 2016-04-12 18:17:53 +08:00
Sebastien Bourdeauducq 1f50b3428e coredevice: automatically close on pause 2016-04-12 15:46:21 +08:00
Sebastien Bourdeauducq 437b37b158 master/worker: pause/resume devices 2016-04-12 15:45:53 +08:00
Sebastien Bourdeauducq 3c70bc40a4 master/worker_db: add pause_devices and resume_devices 2016-04-12 15:45:30 +08:00
Sebastien Bourdeauducq 0cca2bbef6 artiq_run: style 2016-04-12 15:16:48 +08:00
Sebastien Bourdeauducq 3134106a11 gui/models: handle Qt calling DictSyncTreeSepModel.index with garbage inputs. Closes #388 2016-04-11 20:11:22 +08:00
Sebastien Bourdeauducq 7d590afd73 dashboard/moninj: use ephemeral UDP port 2016-04-11 18:54:25 +08:00
Sebastien Bourdeauducq dbba41b042 dashboard/moninj: fix windows problems 2016-04-11 18:49:57 +08:00
Sebastien Bourdeauducq d9e918be49 dashboard/moninj: use thread instead of asyncio UDP (#39) 2016-04-11 18:09:41 +08:00
Sebastien Bourdeauducq 1690cb11b3 dashboard/moninj: remove debug prints 2016-04-11 17:17:20 +08:00
Robert Jördens 5e5f94a0f8 browser: WIP for experiment replay 2016-04-10 20:07:46 +08:00
Robert Jördens 6c200b1418 browser: make results a dock again 2016-04-10 16:29:29 +08:00
Robert Jördens cc77d5b791 ipython notebook example: datasets subgroup 2016-04-08 12:21:26 +08:00
Robert Jördens 01f2b6731c browser: robustify hdf5 read 2016-04-08 11:54:49 +08:00
Robert Jördens 6773d9e734 thumbnail: add example 2016-04-08 11:49:20 +08:00
Robert Jördens 88495f2ea9 browser: use thumbnail dataset 2016-04-08 11:44:37 +08:00
Robert Jördens 30d557a4f8 worker: run experiment in output directory 2016-04-08 10:53:13 +08:00
Robert Jördens 1ae8b8ffd1 worker_impl: save expid, rid, start_time 2016-04-08 10:21:53 +08:00
Robert Jördens de002ac811 worker_db: factor get_output_prefix() 2016-04-08 10:21:53 +08:00
Robert Jördens 7205985f69 applets: style 2016-04-08 10:21:49 +08:00
Robert Jördens 38e225d053 applets/simple: fix error msg, style 2016-04-08 10:21:49 +08:00
Robert Jördens 37bcd5ab7e plot_xy: fix errorbar plot 2016-04-08 10:21:49 +08:00
Robert Jördens 3e6a8a20c3 plot_xy: un-randomize the fit plot 2016-04-08 10:21:49 +08:00
Robert Jördens d6beec1a55 dashboard: allow more than 99 scan points 2016-04-08 10:21:49 +08:00
Robert Jördens 13b4929dd8 wavesynth: silence is a channel property (closes #348) 2016-04-07 21:51:29 +08:00
Robert Jördens 6a783ead24 test_wavesynth: use matplotlib 2016-04-07 21:36:30 +08:00
Robert Jördens 3472e1abd3 browser: rm mdi area 2016-04-07 20:22:06 +08:00
Robert Jördens 46273455c5 browser: use fresh models 2016-04-07 20:18:21 +08:00
Robert Jördens 9685771275 browser: link list and tree 2016-04-07 20:18:21 +08:00