hpmcm.input_tables module

Expected schema for various input tables used by hpmcm

class hpmcm.input_tables.CoaddSourceTable(df=None, **kwargs)[source]

Bases: TableInterface

Basic input table using cell-positions .. rubric:: Notes

CoaddSourceTable schema

Column

Type

Description

id

int

Unique ID for source

tract

int

Tract

x_cell_coadd

float

X-postion in cell-based coadd used for metadetect

y_cell_coadd

float

Y-postion in cell-based coadd used for metadetect

snr

float

Signal-to-noise of source

cell_idx_x

int

Cell x-index within Tract

cell_idx_y

int

Cell y-index within Tract

Parameters:
  • df (pandas.DataFrame | None)

  • kwargs (Any)

class hpmcm.input_tables.ShearCoaddSourceTable(df=None, **kwargs)[source]

Bases: CoaddSourceTable

Shear calibration input table using cell-positions .. rubric:: Notes

ShearCoaddSourceTable schema

Column

Type

Description

id

int

Unique ID for source

tract

int

Tract

x_cell_coadd

float

X-postion in cell-based coadd used for metadetect

y_cell_coadd

float

Y-postion in cell-based coadd used for metadetect

snr

float

Signal-to-noise of source

cell_idx_x

int

Cell x-index within Tract

cell_idx_y

int

Cell y-index within Tract

g_1

float

Shear g1 component

g_2

float

Shear g2 component

Parameters:
  • df (pandas.DataFrame | None)

  • kwargs (Any)

class hpmcm.input_tables.SourceTable(df=None, **kwargs)[source]

Bases: TableInterface

Basic input table Using RA and DEC .. rubric:: Notes

SourceTable schema

Column

Type

Description

id

int

Unique ID for source

ra

float

RA of source

dec

float

DEC of source

snr

float

Signal-to-noise of source

Parameters:
  • df (pandas.DataFrame | None)

  • kwargs (Any)