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

Class GWGC

source code

object --+        
         |        
      list --+    
             |    
         CBCGC --+
                 |
                GWGC

useful class for dealing with the gravitational wave galaxy catalog

Current catalog: https://www.lsc-group.phys.uwm.edu/cgi-bin/pcvs/viewcvs.cgi/bursts/collabs/DO_proposal/gwgc/GWGCCatalog.txt?rev=1.4&content-type=text/vnd.viewcvs-markup

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_distances(self, dmin, dmax) source code

Inherited from CBCGC: __repr__, within_polygon

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 = {"pgc":(0, int_or_tilde), "name":(1, str), "ra...

Inherited from list: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

entry_from_line(cls, line, load_columns)
Class Method

source code 
Overrides: CBCGC.entry_from_line

from_file(cls, fileobj, load_columns=None)
Class Method

source code 
Overrides: CBCGC.from_file

within_distances(self, dmin, dmax)

source code 
Overrides: CBCGC.within_distances

Class Variable Details [hide private]

valid_columns

Value:
{"pgc":(0, int_or_tilde), "name":(1, str), "ra":(2, h2rad), "dec":(3, \
deg2rad_or_tilde), "mtype":(4, str), "app_mag":(5, float_or_tilde), "m\
aj_diam":(6, amin2rad_or_tilde), "maj_diam_error":(7, amin2rad_or_tild\
e), "min_diam":(8, amin2rad_or_tilde), "min_diam_error":(9, amin2rad_o\
r_tilde), "ratio_diams":(10, float_or_tilde), "ratio_diams_error":(11,\
 float_or_tilde), "pos_ang":(12, deg2rad_or_tilde), "abs_mag":(13, flo\
at_or_tilde), "distance_mpc":(14, float_or_tilde), "distance_error":(1\
5, float_or_tilde), "app_mag_error":(16, float_or_tilde), "abs_mag_err\
...