nimare.nimads.Condition

class Condition(condition, weight)[source]

Bases: object

A condition within an Analysis.

New in version 0.0.14.

Variables:
  • name (str) – A human readable name of the Condition. Good examples are from cognitive atlas.

  • description – A human readable description of the Condition.

  • weight – The weight of the Condition in the Analysis.

Notes

Condition-level Annotations, like condition-wise trial counts, are stored in the parent Analysis’s Annotations, preferably with names that make it clear that they correspond to a specific Condition.

Methods

to_dict()

Convert the Condition to a dictionary.

to_dict()[source]

Convert the Condition to a dictionary.