Skip to content

Mask

Mask ¤

Mask Fitter Class Mask class is made for manual fitting of DataCube.

Attributes:

Name Type Description
table DataFrame

Table to extract thresholds for manual fitting.

colors List

Color List for plotting consistency.

filename str

Filename of table.

table: pd.DataFrame property writable ¤

Returns pandas table.

Returns:

Type Description
DataFrame

DataFrame of thresholds values.

masks: List property ¤

Returns list of mask names.

Returns:

Type Description
List

Names of user defined masks.

filename: str property ¤

Returns Filename.

Returns:

Type Description
str

Name of file.

colors: List property ¤

Returns colors list.

Returns:

Type Description
List

User defined colors for each mask.

set_value ¤

Change value of threshold for a defined mask.

Parameters:

Name Type Description Default
element str

Element from Mask to be change updated.

required
mask str

Mask to be updated.

required
value str

Value to be set.

required

get_value ¤

Get value of threshold for a defined mask.

Parameters:

Name Type Description Default
element str

Element from Mask to be change updated.

required
mask str

Mask to be updated.

required

Returns:

Name Type Description
float float

Threshold value.