class_docstr: replace empty part of a signal (NaN)
class_docstr_tok: ["replace","empty","part","of","a","signal","(","NaN",")"]
docstr: Args:
      signal: signal to be filled
docstr_tok: ["Args",":","signal",":","signal","to","be","filled"]
code: def __call__(self, signal: NdarrayOrTensor) -> NdarrayOrTensor:
      """
      Args:
          signal: signal to be filled
      """
      signal = torch.nan_to_num(
          convert_to_tensor(signal, track_meta=True),
          nan=self.replacement,
      )
      return signal
  
imports: from __future__ import annotations
  import warnings
  from collections.abc import Sequence
  from typing import Any
  import numpy
  import torch
  from monai.config.type_definitions import NdarrayOrTensor
  from monai.transforms.transform import RandomizableTransform, Transform
  from monai.transforms.utils import check_boundaries, paste, squarepulse
  from monai.utils import optional_import
  from monai.utils.enums import TransformBackends
  from monai.utils.type_conversion import convert_data_type, convert_to_tensor
label_desc: Use image node_id 2 for calling the SignalFillEmpty obj's underlying member method code with example usage: obj.__call__(signal) and returns: signal