Skip to content

Index

sgp.ui.tabs.__all__ module-attribute

__all__ = ['HSSTab', 'QueryTab']

sgp.ui.tabs.HSSTab

Bases: QWidget, QObject

Widget for displaying soil properties for the HSS model.

sgp.ui.tabs.HSSTab.ann property

ann: ANN

Get the ann object.

sgp.ui.tabs.HSSTab.io property

io: SGPIO

Get the io object.

sgp.ui.tabs.HSSTab.mpd property

mpd: MPD

Get the mpd object.

sgp.ui.tabs.HSSTab.addInputProperty

addInputProperty(key: str, **options) -> PropertyWidget

Add an input property to the list.

sgp.ui.tabs.HSSTab.addOutputProperty

addOutputProperty(key: str, SpinBox: Type[QDoubleSpinBox] = QtWidgets.QDoubleSpinBox, **options) -> PropertyWidget

Add an output property to the list.

sgp.ui.tabs.HSSTab.inputs

inputs() -> Dict[str, float]

Get the input properties.

sgp.ui.tabs.HSSTab.soilType

soilType() -> Literal['黏土', '砂土']

Get the soil type.

sgp.ui.tabs.HSSTab.updateOutputProperties

updateOutputProperties()

Update the output properties.

sgp.ui.tabs.QueryTab

Bases: QWidget, QObject

Widget for displaying query properties.

sgp.ui.tabs.QueryTab.ann property

ann: ANN

Get the ann object.

sgp.ui.tabs.QueryTab.io property

io: SGPIO

Get the io object.

sgp.ui.tabs.QueryTab.mpd property

mpd: MPD

Get the mpd object.

sgp.ui.tabs.QueryTab.addInputProperty

addInputProperty()

Add a property to the list.

sgp.ui.tabs.QueryTab.deleteInputProperty

deleteInputProperty()

Delete a property from the list.

sgp.ui.tabs.QueryTab.inputs

inputs() -> dict[str, float]

Get the input values.

sgp.ui.tabs.QueryTab.predictANN

predictANN()

Predict the properties by ANN.

sgp.ui.tabs.QueryTab.predictMPD

predictMPD()

Predict the properties by MPD.

sgp.ui.tabs.QueryTab.setANNOutputs

setANNOutputs(outputs: dict[str, float])

Set the output values.

sgp.ui.tabs.QueryTab.updateMPDOutputProperty

updateMPDOutputProperty()

Update the output property.