SeismicLab CreateFeature

From LabRPS Documentation
Jump to navigation Jump to search

SeismicLab Features

Menu location
SeismicLab → SeismicLab Features..
Phenomena
SeismicLab
Default shortcut
None
Introduced in version
-
See also
SeismicLab tutorial

Description

The SeismicLab Features command allows to create new SeismicLab Feature and add it to a simulatiion.

Usage

  1. There are several ways to invoke the command:
    • Press the SeismicLab CreateFeature.svg Create Feature button.
    • Select the SeismicLab → SeismicLab CreateFeature.svg Create Feature option from the menu.
  2. A new feature is created and added to its parent simulation.

Properties

Every SeismicLab Feature has the following properties:

  • DataIsActive: Whether this feature is active or not.
  • DataAuthor: The name of the person that implements the feature.
  • DataVersion: The version of this feature.
  • DataAPIVersion: The version of the API used to implement this feature.
  • DataReleaseDate: The date when this feature has been release for the first time.
  • DataFeatureType: The feature type this feature belongs to.
  • DataFeatureGroup: The feature group this feature belongs to.
  • DataPublicationAuthor: The name of the author that publishes this feature.
  • DataPublicationTopic: The publication topic of the article in which this feature was published.
  • DataPublicationDate: The publication date of the article in which this feature was published.
  • DataLinkToPublication: The internet link to the article in which this feature was published.
  • DataPluginVersion: The version of the plugin in which the feature is implemented.
  • DataPluginName: The name of the plugin in which the feature is implemented.
  • DataSimulation: The name of the simulation where the feature is created.
  • DataIsStationary: Whether this feature is stationary or not (time dependent).
  • DataIsUniformlyModulated: Whether this feature should be uniformly modulated or not. This is useful in case of non-stationarity.

Scripting

  • Create new feature and add it to an existing simulation.
import SeismicLabObjects
import LabRPS
doc = LabRPS.newDocument()
sim = SeismicLabObjects.makeSimulation(doc, "MySimulation")
newFeature = SeismicLabObjects.makeFeature("MyNewFeatureName", "MySimulation",  "FeatureType", "FeatureGroup")