For querying readings what is filter_mod_N

In the params to say (http://pioreactor.local/api/experiments/{experiment}/time_series/od_readings_filtered) what is the filter_mod_N value and how should it be determined?

1 Like

This parameter controls subsampling the time series. A value of 1 is no sampling, whereas a value of 2 is sample 50% of points, and so on. The points sampled are not “every Nth” point, but probabilistically determined such that on average, 1/N points are provided.

You want to increase this parameter as the experiment increases in length to avoid pulling too much data.

Does that help?

2 Likes

Thats great, thank you