gempy.core.data.Options

class gempy.core.data.Options[source]

The class options contains the auxiliary user editable flags mainly independent to the model.

df

df containing the flags. All fields are pandas categories allowing the user to change among those categories.

Type

pn.DataFrame

Examples using Options

Methods

__init__()

Initialize self.

default_options()

Set default options.

modify_options(attribute, value)

Method to modify a given field

__init__()[source]

Initialize self. See help(type(self)) for accurate signature.

modify_options(attribute, value)[source]

Method to modify a given field

Parameters
  • attribute (str) – Name of the field to modify

  • value – new value of the field. It will have to exist in the category in order for pandas to modify it.

Returns

df where options data is stored

Return type

pandas.DataFrame

default_options()[source]

Set default options.

Returns

True

Return type

bool