multiquantityΒΆ

QuantityContainer (qurry.qurrium.container.multiquantity)

The container for quantities of analysis for multimanager.

class qurry.qurrium.container.multiquantity.QuantityContainer[source]ΒΆ

The container for quantities of analysis for multimanager.

read(key: str, name: str, save_location: str | Path, version: Literal['v5', 'v7'] = 'v7')[source]ΒΆ

Reads the analysis.

Parameters:
  • key (str) – The key of the analysis.

  • name (Optional[str], optional) – The name of the analysis. Defaults to None.

  • taglist_name (str) – The name of the taglist.

  • save_location (Union[str, Path]) – The save location of the analysis.

  • version (Literal["v5", "v7"], optional) – The version of the analysis. Defaults to β€œv7”.

remove(name: str) TagList[TagListKeyable, dict[str, Any]][source]ΒΆ

Removes the analysis.

Parameters:

name (str) – The name of the analysis.

write(save_location: str | Path) dict[str, str][source]ΒΆ

Writes the analysis to files.

Parameters:

save_location (Union[str, Path]) – The save location of the analysis.

Returns:

The path of the files.

Return type:

dict[str, str]