The animator.py module#

Summary#

Animator

The DPF animator class.

scale_factor_to_fc

Scale the fields being animated by a factor.

Description#

Animator.

This module contains the DPF animator class.

Contains classes used to animate results based on workflows using PyVista.

Module detail#

animator.scale_factor_to_fc(scale_factor, fc)#

Scale the fields being animated by a factor.

Parameters:
  • scale_factor (int, float, list) – Scale factor to apply to the animated field.

  • fc (FieldsContainer) – FieldsContainer containing the fields being animated.