code: def save_to_csv(self, input_data, output_filenames):
      if (
          os.path.exists(self.output_filename_base)
          and not self.replace_existing
      ):
          return
  
      if self.open_files[self.lead_key] is None:
          self.open_files[self.lead_key] = open(
              self.output_filename_base + self.output_extension, "w"
          )
  
      writer = csv.writer(self.open_files[self.lead_key])
  
      for row_idx, row in enumerate(input_data):
          output_row = [output_filenames[row_idx]] + list(row)
          writer.writerow(output_row)
  
      return
  
imports: import os
  import csv
  import numpy
  from collections import defaultdict
  from deepneuro.utilities.conversion import save_data
  from deepneuro.utilities.util import add_parameter, replace_suffix, nifti_splitext, additional_kwargs
  from deepneuro.utilities.visualize import check_data
label_desc: Use image node_id 13 for calling the Output obj's underlying member method code with example usage: obj.save_to_csv(input_data, output_filenames) without return types