docstr: Return column definitions for all measurements made by this module
docstr_tok: ["Return","column","definitions","for","all","measurements","made","by","this","module"]
code: def get_measurement_columns(self, pipeline):
      """Return column definitions for all measurements made by this module"""
      columns = []
      for first_image, second_image in self.get_image_pairs():
          if self.wants_images():
              if self.do_corr_and_slope:
                  columns += [
                      (
                          "Image",
                          F_CORRELATION_FORMAT
                          % (first_image, second_image),
                          COLTYPE_FLOAT,
                      ),
                      (
                          "Image",
                          F_SLOPE_FORMAT % (first_image, second_image),
                          COLTYPE_FLOAT,
                      ),
                  ]
              if self.do_overlap:
                  columns += [
                      (
                          "Image",
                          F_OVERLAP_FORMAT
                          % (first_image, second_image),
                          COLTYPE_FLOAT,
                      ),
                      (
                          "Image",
                          F_K_FORMAT % (first_image, second_image),
                          COLTYPE_FLOAT,
                      ),
                      (
                          "Image",
                          F_K_FORMAT % (second_image, first_image),
                          COLTYPE_FLOAT,
                      ),
                  ]
              if self.do_manders:
                  columns += [
                      (
                          "Image",
                          F_MANDERS_FORMAT
                          % (first_image, second_image),
                          COLTYPE_FLOAT,
                      ),
                      (
                          "Image",
                          F_MANDERS_FORMAT
                          % (second_image, first_image),
                          COLTYPE_FLOAT,
                      ),
                  ]
  
              if self.do_rwc:
                  columns += [
                      (
                          "Image",
                          F_RWC_FORMAT % (first_image, second_image),
                          COLTYPE_FLOAT,
                      ),
                      (
                          "Image",
                          F_RWC_FORMAT % (second_image, first_image),
                          COLTYPE_FLOAT,
                      ),
                  ]
              if self.do_costes:
                  columns += [
                      (
                          "Image",
                          F_COSTES_FORMAT % (first_image, second_image),
                          COLTYPE_FLOAT,
                      ),
                      (
                          "Image",
                          F_COSTES_FORMAT % (second_image, first_image),
                          COLTYPE_FLOAT,
                      ),
                  ]
  
          if self.wants_objects():
              for i in range(len(self.objects_list.value)):
                  object_name = self.objects_list.value[i]
                  if self.do_corr_and_slope:
                      columns += [
                          (
                              object_name,
                              F_CORRELATION_FORMAT
                              % (first_image, second_image),
                              COLTYPE_FLOAT,
                          )
                      ]
                  if self.do_overlap:
                      columns += [
                          (
                              object_name,
                              F_OVERLAP_FORMAT
                              % (first_image, second_image),
                              COLTYPE_FLOAT,
                          ),
                          (
                              object_name,
                              F_K_FORMAT % (first_image, second_image),
                              COLTYPE_FLOAT,
                          ),
                          (
                              object_name,
                              F_K_FORMAT % (second_image, first_image),
                              COLTYPE_FLOAT,
                          ),
                      ]
                  if self.do_manders:
                      columns += [
                          (
                              object_name,
                              F_MANDERS_FORMAT
                              % (first_image, second_image),
                              COLTYPE_FLOAT,
                          ),
                          (
                              object_name,
                              F_MANDERS_FORMAT
                              % (second_image, first_image),
                              COLTYPE_FLOAT,
                          ),
                      ]
                  if self.do_rwc:
                      columns += [
                          (
                              object_name,
                              F_RWC_FORMAT
                              % (first_image, second_image),
                              COLTYPE_FLOAT,
                          ),
                          (
                              object_name,
                              F_RWC_FORMAT
                              % (second_image, first_image),
                              COLTYPE_FLOAT,
                          ),
                      ]
                  if self.do_costes:
                      columns += [
                          (
                              object_name,
                              F_COSTES_FORMAT
                              % (first_image, second_image),
                              COLTYPE_FLOAT,
                          ),
                          (
                              object_name,
                              F_COSTES_FORMAT
                              % (second_image, first_image),
                              COLTYPE_FLOAT,
                          ),
                      ]
      return columns
  
imports: import numpy
  import scipy.ndimage
  import scipy.stats
  from cellprofiler_core.constants.measurement import COLTYPE_FLOAT
  from cellprofiler_core.module import Module
  from cellprofiler_core.setting import Divider, Binary, ValidationError
  from cellprofiler_core.setting.choice import Choice
  from cellprofiler_core.setting.subscriber import LabelListSubscriber, ImageListSubscriber
  from cellprofiler_core.setting.text import Float
  from cellprofiler_core.utilities.core.object import size_similarly
  from centrosome.cpmorphology import fixup_scipy_ndimage_result
  from scipy.linalg import lstsq
label_desc: Use image node_id 14 for calling the MeasureColocalization obj's underlying member method code with example usage: obj.get_measurement_columns(pipeline) and returns: columns