Re: [ARTIQ] parameter database

2014-07-09 Thread Robert Jordens
On 07/05/2014 04:43 PM, Sébastien Bourdeauducq wrote: > How about the following mechanism for parameters: > * Experiment constructors take an additional "mvs" (Missing Value > Supplier) parameter. > * When creating an Experiment, if some parameter values were specified > but not supplied as keyword

Re: [ARTIQ] parameter database

2014-07-05 Thread Sébastien Bourdeauducq
Hello, How about the following mechanism for parameters: * Experiment constructors take an additional "mvs" (Missing Value Supplier) parameter. * When creating an Experiment, if some parameter values were specified but not supplied as keyword arguments, the Experiment attempts to retrieve them fro

Re: [ARTIQ] parameter database

2014-07-02 Thread Robert Jordens
On 07/02/2014 02:58 AM, Sébastien Bourdeauducq wrote: > On 07/02/2014 12:50 AM, Robert Jordens wrote: >>> We could simply use the regular Python mechanism for that, and import >>> another Python module defining them. The current inline transform >>> already supports globals (and treats them as cons

Re: [ARTIQ] parameter database

2014-07-02 Thread Sébastien Bourdeauducq
On 07/02/2014 12:50 AM, Robert Jordens wrote: >> We could simply use the regular Python mechanism for that, and import >> another Python module defining them. The current inline transform >> already supports globals (and treats them as constants), as exemplified >> by the "my_range" global in compi