class_docstr: An internal class to manage filters/algorithms for uniform grid datasets.
class_docstr_tok: ["An","internal","class","to","manage","filters\/algorithms","for","uniform","grid","datasets","."]
docstr: Modify the name and dtype of the output scalars for an FFT filter.
docstr_tok: ["Modify","the","name","and","dtype","of","the","output","scalars","for","an","FFT","filter","."]
code: def _change_fft_output_scalars(self, dataset, orig_name, out_name):
      """Modify the name and dtype of the output scalars for an FFT filter."""
      name = orig_name if out_name is None else out_name
      pdata = dataset.point_data
      if pdata.active_scalars_name != name:
          pdata[name] = pdata.pop(pdata.active_scalars_name)
  
      # always view the datatype of the point_data as complex128
      dataset._association_complex_names["POINT"].add(name)
  
imports: import collections.abc
  from typing import Literal, Optional, cast
  import numpy
  import pyvista
  from pyvista.core import _vtk_core
  from pyvista.core.errors import AmbiguousDataError, MissingDataError
  from pyvista.core.filters import _get_output, _update_alg
  from pyvista.core.filters.data_set import DataSetFilters
  from pyvista.core.utilities.arrays import FieldAssociation, set_default_active_scalars
  from pyvista.core.utilities.helpers import wrap
  from pyvista.core.utilities.misc import abstract_class
label_desc: Use image node_id 10 for calling the ImageDataFilters obj's underlying member method code with example usage: obj._change_fft_output_scalars(dataset, orig_name, out_name) without return types