Datenmodell - srybi/datavis GitHub Wiki
Hier genannte Fachbegriffe werden hinsichtlich ihrer fachlichen Bedeutung im Glossar genauer ausgeführt.
[[TOC]]
An .ffs file contains a tilt and 1-n frequencies.
Atomic Fields form a field composed from a tilt and a frequency.
Antennas can be associated with Atomic Fields and metadata.
For each field there can exist metadata that describes the field in more detail. There is no direct association to avoid high redundancy.
Antenna Fields are an auxiliary entity to display the mapped data.

| Attribute | Attribute Type | Description |
|---|---|---|
| Uri | String | File path |
| Filename | String | File name |
| Description | String | Display name in the App |
| Attribute | Attribute Type | Description |
|---|---|---|
| Tilt | Double | Single Value that defines the field |
| Frequency | Double | Single Value that defines the field |
| InterpretationMode | InterpretationMode | Either Log or Linear Calculation of the Coordinates |
| Spheres | List<Sphere> | List of calculated Coordinates |
| MaxIntensity | double | Maximum Value of calculated Intensities |
| Attribute | Attribute Type | Description |
|---|---|---|
| Tilt | Double | Single Value to match to the atomic field |
| Frequency | Double | Single Value to match to the atomic field |
| Value | String | String value of the individual metadata |
| Type | String | Type of the metadata - see Data for a list of possible types |
| Class | elemental Datatype | Comment |
|---|---|---|
| Sphere | 4 doubles | Contains 3 Coordinates (x,y,z) and the calculated Intensity |
.ffs files are read and cartesian coordinates are calculated from the individual lines of the fields.
That data is persisted into the database to be read when needed in the AR Activity. At the same time the AR Activity builds colored Spheres to display.
The coordinates are matched with the spheres and are mapped onto an Anchor node. This leads to the Field being rendered in AR.

Überblicksdiagramm:

| Attribut | Attributtyp | Beschreibung |
|---|---|---|
| Feld_ID | ID | Automatisch generierter Wert |
| Datei | .ffs Datei | Dateipfad der .ffs Datei |
| Messwerte | Liste an .ffs Zeilen | siehe Beispieldatensätze |
| kartesische Koordinaten | Eine Menge an Punkten im 3D Raum | Wird aus den Messwerten berechnet |
| Intensitäten | Eine Menge an Skalaren | Aus Messwerten berechneter Skalar Gibt die Stärke der Verformung und/oder Einfärbung der Koordinaten an |
| Frequenz | Hertz | Einzelner, der Feldstärke zugeordneter Wert |
| Tilt | Winkel | Einzelner, der Feldstärke zugeordneter Wert |
| HPBW | Winkel | Aus Messwerten berechneter Winkel |
| Gain | Skalar | Aus Messwerten berechneter Wert |
| RAS-Metadaten | Tripel von Watt | Aus .ffs Datei übernommene Daten; Radiated, Accepted, Stimulated Power; gemessen jeweils in Watt |
| Attribut | Attributtyp | Beschreibung |
|---|---|---|
| Datei | ID | Dateipfad der Antenne; Muss entweder mit .stp oder .glp enden. |
| Modellbezeichnung | String | alphanumerisch |
| Name | elementarer Datentyp | Bemerkung |
|---|---|---|
| ID | int | Fachliche Identität |
| .ffs Zeilen | Phi : Double Theta: Double Re(E_Theta): BigDecimal Im(E_Theta): BigDecimal Re(E_Phi): BigDecimal Im(E_Phi): BigDecimal |
siehe Beispieldatensätze |
| Punkten im 3D Raum | x : Double y : Double z : Double |
(mögliche Einschränkung tbd) |
| Hertz | BigDecimal | (mögliche Einschränkung tbd) |
| Skalar | Double | |
| Winkel | Double | [0°; 360°[ |
| Watt | BigDecimal | (mögliche Einschränkung tbd) |
Feldstärke Zustandsdiagramm:
