UI.inputTable module

Module to common data entry

class UI.inputTable.eqDIPPR(value, parent=None)[source]

Bases: QWidget

Custom widget to define DIPPR equation input

Attributes:
value

Return value of widget

Methods

clear()

Clear widget value

setValue(value)

Set value property of widget

__init__(value, parent=None)[source]
property value

Return value of widget

setValue(value)[source]

Set value property of widget

clear()[source]

Clear widget value

class UI.inputTable.InputTable(columns, data=None, t=None, prop=None, unit=None, parent=None, **kwargs)[source]

Bases: Tabla

Table data input dialog

Attributes:
data

Table data

Methods

editUnit(col)

Show dialog to config input unit

getUnifiedColumn(column[, magnitud, unit])

column: column to get magnitud: magnitud to get the values unit: unit of the values in table

updateHeader(col, oldunittxt)

Change the text in header

__init__(columns, data=None, t=None, prop=None, unit=None, parent=None, **kwargs)[source]

data: mrray with original data t: values for x column, generally temperature prop: values for 2…n columns horizontalHeader: List with column title unit: List of unidades subclasses for column definition

property data

Table data

getUnifiedColumn(column, magnitud=None, unit='conf')[source]

column: column to get magnitud: magnitud to get the values unit: unit of the values in table

editUnit(col)[source]

Show dialog to config input unit

updateHeader(col, oldunittxt)[source]

Change the text in header

class UI.inputTable.InputTableWidget(columns, data=None, t=None, prop=None, horizontalHeader=None, title='', DIPPR=False, hasTc=False, Tc=None, eqDIPPR=1, unit=None, parent=None)[source]

Bases: QWidget

Composite widget for data input

Attributes:
data

Table data

Methods

delete()

Clear table

open()

Load data from a test file

save()

Save currend data of table to a file

showTc(value)

Show/hide Tc widget

__init__(columns, data=None, t=None, prop=None, horizontalHeader=None, title='', DIPPR=False, hasTc=False, Tc=None, eqDIPPR=1, unit=None, parent=None)[source]

data: mrray with original data t: values for x column, generally temperature prop: values for 2…n columns horizontalHeader: List with column title DIPPR: boolean to show DIPPR widget hasTc: boolean to show critical temperature (some DIPPR eq need it) Tc: value for critical temperature eqDIPPR: Value for DIPPR equation unit: List of unidades classes for column definition

showTc(value)[source]

Show/hide Tc widget

open()[source]

Load data from a test file

save()[source]

Save currend data of table to a file

delete()[source]

Clear table

property data

Table data

class UI.inputTable.InputTableDialog(columns=2, showHelp=False, helpFile='', **kwargs)[source]

Bases: QDialog

Dialog to config thermal method calculations

Methods

ayuda()

Show help file

__init__(columns=2, showHelp=False, helpFile='', **kwargs)[source]

title: window title showHelp: boolean to show help button helpFile: Path for help file, file or url

ayuda()[source]

Show help file