ess.sans.with_banks#

ess.sans.with_banks(workflow, banks, index=None)[source]#

Return modified workflow with bank names set.

Since banks typically have different Q-resolution the I(Q) of banks are not merged. That is, the resulting workflow will have separate outputs for each bank. Use sciline.compute_mapped() to compute results for all banks.

Parameters:
  • workflow (Pipeline) – Workflow to modify.

  • banks (Iterable[str]) – List or tuple of bank names to set.

  • index (Optional[Iterable[Hashable]], default: None) – Index to use for the DataFrame. If not provided, the bank names are used.

Return type:

Pipeline