Note

This is the documentation for the current state of the development branch of Qiskit Experiments. The documentation or APIs here can change prior to being released.

filter_data

filter_data(data, **filters)[source]

Return the list of filtered data

Deprecated since version 0.6_pending: The function qiskit_experiments.curve_analysis.utils.filter_data() is pending deprecation as of qiskit-experiments 0.6. It will be marked deprecated in a future release, and then removed no earlier than 3 months after the release date. The curve data representation has been replaced by the DataFrame format.

Parameters:
  • data (List[Dict[str, any]]) – list of data dicts.

  • filters – kwargs for filtering based on metadata values.

Returns:

The list of filtered data. If no filters are provided this will be the input list.

Return type:

List[Dict[str, any]]