Dynamic Sample Sets

Overview

A dynamic sample set is in essence a filter that applies to one or more properties in the system that defines a subset of the project samples. Dynamic sample sets can be created based on criteria defined for text and numeric (including derived) value. 

Version: 1.21.0.1+ (Dec 2019)


Usage:  Data --> New sample set...


How to use in practice

Dynamic Sample Sets

A dynamic sample set is a subset of project data based on filter expressions. Each expression is an operator on a property that defines a (sub)set of the project data. Where more than one expression is used to define the sample set, they are linked together using logical connectives (explained in the information box on the expression bar in the New Sample Set dialogue).

Dynamic sample sets are continually updated on any data changes. If new data is added, data edited to be excluded / included by the query or data deleted, samples will be added or removed from the sample set automatically without the need to refresh anything in the project.

Creating a Query

Text or numerical filter expressions are selected based on the property selected using the standard property search tools.

For a text property, the user is presented with a list of the property’s unique string entries. Select the desired entries (multi-select is also available) and add them to the right hand selection list (use the Add Selected >> button). Once all strings are present click Add Expression to create the expression in the right hand list. It will automatically be labelled with a letter e.g. A (expression Id’s are used to create the expression string).

Sample Set dyn numb

For a numerical property the user is presented with two options in order to define the data, choosing either:

For a date-time property the user can select date-time before or after an (exclusive) given date-time, or contained within an (inclusive) date-time range. Date-times should be entered with care - dates will be understood based on the users region settings, and times are always to be given in UTC (Universal Time Coordinates). If a local time is needed this should be specified using the ISO8601 representation e.g. 2021-06-27 12:34-05:00 which is 12.34 Houston time, on the 27th of June 2021.

The user is informed of the total number of samples with data in the project for that property, and the range of values present (min to max).

Combining expressions

By default, where more than one expression is used in defining a sample set they are linked using the ‘and’ connective (intersection of the sets of samples). As expressions are created and included in the query expression the sample count below the expression edit box will update.

The available connectives are:

Complex queries can be created by combining operators and expressions. Brackets must be used to specify precedence (precedence is by default left to right), so for example:

Before a sample set can be created it must be given a name - the red validation outlines will remind you of this. Once named the Create (or Update if modifying an existing sample set) button will become enabled. Creating a sample set will add the sample set to the dynamic sample sets folder in the Artefact Manager.

If you want to extend a dynamic sample set to include further criteria / changed criteria, while retaining the original copy it is possible to Clone the sample set from the right click menu on the Artefact Manager. This creates an identical copy of the sample set, at directly underneath the source sample set.

It is possible save / share dynamic sample sets from the Artefact Manager using the right click Export As Template ... option, which saves the template with a .igi_sst extension. Simply drag and drop this file into the project workspace for any other project, and this will create the same dynamic sample set in that project. 

From version 2.0, hovering over a sample set in the artefact tree, or in the title bar of a graph, map, page etc, will show a compact summary of the sample set criteria used to define sample set, which helps if the name of the sample set in not fully clear.


 

© 2024 Integrated Geochemical Interpretation Ltd. All rights reserved.

search exit shift Show/Hide Sidebar Show/Hide Sidebar