Package pylal :: Module galaxyutils :: Class CBCGC
[hide private]
[frames] | no frames]

Class CBCGC

source code

object --+    
         |    
      list --+
             |
            CBCGC

class for working with the galaxy catalog created and maintained by the CBC group

Current catalog: http://www.lsc-group.phys.uwm.edu/cgit/lalsuite/plain/lalapps/src/inspiral/inspsrcs100Mpc.errors

Literature reference: http://arxiv.org/pdf/0706.1283

Nested Classes [hide private]
  entry_class
A galaxy object that knows how to initialize itself from a line in a text file and consumes a minimum of memory.
Instance Methods [hide private]
 
within_polygon(self, vertices) source code
 
within_distances(self, dmin, dmax) source code
 
__repr__(self)
repr(x)
source code

Inherited from list: __add__, __contains__, __delitem__, __delslice__, __eq__, __ge__, __getattribute__, __getitem__, __getslice__, __gt__, __iadd__, __imul__, __init__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __new__, __reversed__, __rmul__, __setitem__, __setslice__, __sizeof__, append, count, extend, index, insert, pop, remove, reverse, sort

Inherited from object: __delattr__, __format__, __reduce__, __reduce_ex__, __setattr__, __str__, __subclasshook__

Class Methods [hide private]
 
entry_from_line(cls, line, load_columns) source code
 
from_file(cls, fileobj, load_columns=None) source code
Class Variables [hide private]
  valid_columns = {"name":(0, str), "ra":(1, hm2rad), "dec":(2, ...

Inherited from list: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

Class Variable Details [hide private]

valid_columns

Value:
{"name":(0, str), "ra":(1, hm2rad), "dec":(2, dm2rad), "distance_kpc":\
(3, float), "luminosity_mwe":(4, float), "metal_correction":(5, float)\
, "magnitude_error":(6, float), "distance_error":(7, float),}