original_docstring: 
          Write out overall selection biases
  
          Parameters
          ----------
          outfile: h5py.File
          
docstring: Write out overall selection biases
  Parameters
  
  
docstring_tokens: Write out overall selection biases Parameters
code: def write_global_values(self, outfile, number_density_stats):
          """
          Write out overall selection biases
  
          Parameters
          ----------
          outfile: h5py.File
          """
          lens_counts, lens_counts_2d = number_density_stats.collect()
  
  
          if self.rank==0:
              group = outfile['tomography']
              group['lens_counts'][:] = lens_counts
              group['lens_counts_2d'][:] = lens_counts_2d
code_tokens: def write_global_values ( self , outfile , number_density_stats ) : lens_counts , lens_counts_2d = number_density_stats . collect ( ) if self . rank == 0 : group = outfile [ 'tomography' ] group [ 'lens_counts' ] [ : ] = lens_counts group [ 'lens_counts_2d' ] [ : ] = lens_counts_2d
short_docstring: Write out overall selection biases
  Parameters
short_docstring_tokens: Write out overall selection biases Parameters
comment: """
          Write out overall selection biases
  
          Parameters
          ----------
          outfile: h5py.File
          """