Skip to content

Activating/Deactivating data #365

Closed
Closed
@Leguark

Description

@Leguark

Is your feature request related to a problem? Please describe.
At the moment the only way to edit the models is by completely adding/removing data from the correspondent dataframes. In many cases, we will just want to deactivate it temporary to see how the model would change.

Describe the solution you'd like
We should have a boolean 'isActive' column in the series-surfaces-surface points -orientation data frame. This column will be used to filter any type of data whenever we query it.

It is important that they are in sync i.e. If a surface 'isActive' is set to False, all the surface points and orientations belonging to that surface must be also set False.

Additional context

  • For series and surfaces the column 'isActive' already exist but is only dependent on the existence of data points. For example, a series with no surfaces assigned will be inactive ('isActive' -> False).

  • This is the first step towards hierarchical modelling Hierarchical modeling gempy_engine#4 . Different levels will be sampled by similar boolean logic

Metadata

Metadata

Labels

enhancementgempy 3Will come with the next major updategempy litehttps://github.com/gempy-project/gempy_lite

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions