Hi Peter,
On 06 Nov 2013, at 08:57, Peter Bröcker peter.broecker@uni-koeln.de wrote:
Good morning,
I have two questions that I could not find an answer to.
In my simulation, I would like to save one or more parameter that I adjust while it's running. This parameter is not an observable, but I could of course pretend that it is and save only one value. I am wondering though if there is not a more elegant way to handle this.
The more elegant way would be to add a special observable type for that, but what you did is the recommended way for now.
My other question is related to the analysis of data. I would like to know how many entries a given observable has. In my code, I use the RealObservable class and the count() function to find the number of measurements. What is the equivalent way of doing so in python?
Observables have a count property. just access it as obs.count (not obs.count() as you would do in C++)
Matthias