lohahaven.blogg.se

Data extractor software
Data extractor software










Some other convention may be used if needed.Īll new extensions must be declared in the etc/capsis.extensions file. For our example Basal area as a function of time: DETimeG (G is a common denomination for Basal area, could have been DETimeBasalArea). For y as a function of x extractors, the proposed name is DExy. A naming convention is proposed : DE followed by some english short description. At the end of this section, you will be able to create a new evolution extractor by copying and renaming DETimeG.Īll Data extractors are Capsis extensions and are located in the package. We are going to consider this example and examinate it in details. In this case, DRCurves can draw the DETimeG extractors.įor an evolution extractor, the extractor DETimeG (Basal area over Time) can be used as a template. Its compatibility method matchWith () checks that the given extractor implements the interface DFCurves and if so returns true (“I match with this extractor”).

data extractor software

The renderer DRCurves needs these four methods to draw its graphic containing axes, graduations and curves. This means that DETimeG will provide getCurves (), getLabels (), getAxesNames () and getNY (). 2 shows that the extractor DETimeG - Basal area over Time - implements the format interface DFCurves. If yes, the renderer is compatible with the extractor.įig. These format interfaces are known by the renderer classes which can check if they recognize the extractor. Each data extractor class must implement a format interface (subinterface of ) to tell what it provides. Structure of the extractors / renderers systemĭata extractors are all subclasses of the superclass, itself implementing. A Data Block with two Data Extractors “Basal area over Time” synchronized on two steps “45a” and “50b” in project named “fi”, represented by the “DRCurves” Data Renderer curves, histograms, scatterplots, tables.įig. Several compatible data renderers may be swapped if available to see different representations of the extracted data, e.g. The resulting graphic is rendered by an other extension, which type is Dara Renderer.

data extractor software

This way, several curves for various scenarios can be compared easily (fig.

data extractor software

Several extractors can be added in a single Data Block to be rendered in the same graphic. an histogram, or the state evolution in the scenario from the root step to this target step, e.g. It generally shows either the state at this date, e.g. An extractor is synchronized on a project target Step, carrying a situation at a given date. These tools extract data in Capsis projects in order to draw various diagrams, tables or other representations to check what happens during the simulations. Data Extractors are among the most used Capsis extensions.












Data extractor software