fosanalysis
A framework to evaluate distributed fiber optic sensor data
Loading...
Searching...
No Matches
examples.gettingstarted Namespace Reference

This script shows how to interact with fosanalysis. More...

Variables

 aggregateobject = fa.preprocessing.resizing.Aggregate(method="nanmedian")
 ax1
 ax2 = ax1.twinx()
 axis
 c
 c_l = sp.crack_list.x_l
 c_loc = sp.crack_list.locations
 c_r = sp.crack_list.x_r
 c_s = sp.crack_list.max_strains
 c_w = sp.crack_list.widths
 cropobject = fa.preprocessing.resizing.Crop(start_pos=3, end_pos=5)
 data
 fig
str filepath = "data/demofile.tsv"
 filterobject = fa.preprocessing.filtering.SlidingFilter(radius=5, method="nanmedian")
 h1
 h2
 handle = fa.datahandling.filehandler.FileHandler(filepath)
 handles
 l1
 l2
 label
 labelcolor
 labels
 loc
 ls
 marker
 maskingobject
 preprocessingobject = fa.preprocessing.Preprocessing(tasklist=tasklist)
 repairobject = fa.preprocessing.repair.ScipyInterpolation1D()
 sp = fa.crackmonitoring.strainprofile.Concrete(x=x_processed, strain=strain_processed)
 strain = data['All'].get('strain', [])
 strain_processed
list tasklist
 Set the order of the preprocessing tasks.
 tension_stiffening_values
 times
 x
 x_axis = handle.sensors[0].x_axis
 x_processed
 y
 z

Detailed Description

This script shows how to interact with fosanalysis.

It is the resulting script of Getting Started.

Author
Bertram Richter
Date
2022–2026

Variable Documentation

◆ aggregateobject

examples.gettingstarted.aggregateobject = fa.preprocessing.resizing.Aggregate(method="nanmedian")

Definition at line 38 of file gettingstarted.py.

◆ ax1

examples.gettingstarted.ax1

Definition at line 93 of file gettingstarted.py.

◆ ax2

examples.gettingstarted.ax2 = ax1.twinx()

Definition at line 96 of file gettingstarted.py.

◆ axis

examples.gettingstarted.axis

Definition at line 98 of file gettingstarted.py.

◆ c

examples.gettingstarted.c

Definition at line 97 of file gettingstarted.py.

◆ c_l

examples.gettingstarted.c_l = sp.crack_list.x_l

Definition at line 88 of file gettingstarted.py.

◆ c_loc

examples.gettingstarted.c_loc = sp.crack_list.locations

Definition at line 89 of file gettingstarted.py.

◆ c_r

examples.gettingstarted.c_r = sp.crack_list.x_r

Definition at line 90 of file gettingstarted.py.

◆ c_s

examples.gettingstarted.c_s = sp.crack_list.max_strains

Definition at line 87 of file gettingstarted.py.

◆ c_w

examples.gettingstarted.c_w = sp.crack_list.widths

Definition at line 86 of file gettingstarted.py.

◆ cropobject

examples.gettingstarted.cropobject = fa.preprocessing.resizing.Crop(start_pos=3, end_pos=5)

Definition at line 48 of file gettingstarted.py.

◆ data

examples.gettingstarted.data

Definition at line 26 of file gettingstarted.py.

◆ fig

examples.gettingstarted.fig

Definition at line 93 of file gettingstarted.py.

◆ filepath

str examples.gettingstarted.filepath = "data/demofile.tsv"

Definition at line 21 of file gettingstarted.py.

◆ filterobject

examples.gettingstarted.filterobject = fa.preprocessing.filtering.SlidingFilter(radius=5, method="nanmedian")

Definition at line 45 of file gettingstarted.py.

◆ h1

examples.gettingstarted.h1

Definition at line 105 of file gettingstarted.py.

◆ h2

examples.gettingstarted.h2

Definition at line 106 of file gettingstarted.py.

◆ handle

examples.gettingstarted.handle = fa.datahandling.filehandler.FileHandler(filepath)

Definition at line 22 of file gettingstarted.py.

◆ handles

examples.gettingstarted.handles

Definition at line 107 of file gettingstarted.py.

◆ l1

examples.gettingstarted.l1

Definition at line 105 of file gettingstarted.py.

◆ l2

examples.gettingstarted.l2

Definition at line 106 of file gettingstarted.py.

◆ label

examples.gettingstarted.label

Definition at line 66 of file gettingstarted.py.

◆ labelcolor

examples.gettingstarted.labelcolor

Definition at line 98 of file gettingstarted.py.

◆ labels

examples.gettingstarted.labels

Definition at line 107 of file gettingstarted.py.

◆ loc

examples.gettingstarted.loc

Definition at line 68 of file gettingstarted.py.

◆ ls

examples.gettingstarted.ls

Definition at line 100 of file gettingstarted.py.

◆ marker

examples.gettingstarted.marker

Definition at line 101 of file gettingstarted.py.

◆ maskingobject

examples.gettingstarted.maskingobject
Initial value:
= fa.preprocessing.masking.GTM(delta_max=400,
forward_comparison_range=1,
activate_reverse_sweep=False,
)

Definition at line 32 of file gettingstarted.py.

◆ preprocessingobject

examples.gettingstarted.preprocessingobject = fa.preprocessing.Preprocessing(tasklist=tasklist)

Definition at line 60 of file gettingstarted.py.

◆ repairobject

examples.gettingstarted.repairobject = fa.preprocessing.repair.ScipyInterpolation1D()

Definition at line 42 of file gettingstarted.py.

◆ sp

examples.gettingstarted.sp = fa.crackmonitoring.strainprofile.Concrete(x=x_processed, strain=strain_processed)

Definition at line 72 of file gettingstarted.py.

◆ strain

examples.gettingstarted.strain = data['All'].get('strain', [])

Definition at line 28 of file gettingstarted.py.

◆ strain_processed

examples.gettingstarted.strain_processed

Definition at line 63 of file gettingstarted.py.

◆ tasklist

list examples.gettingstarted.tasklist
Initial value:
= [
maskingobject,
aggregateobject,
repairobject,
filterobject,
cropobject,
]

Set the order of the preprocessing tasks.

Definition at line 51 of file gettingstarted.py.

◆ tension_stiffening_values

examples.gettingstarted.tension_stiffening_values

Definition at line 100 of file gettingstarted.py.

◆ times

examples.gettingstarted.times

Definition at line 26 of file gettingstarted.py.

◆ x

examples.gettingstarted.x

Definition at line 63 of file gettingstarted.py.

◆ x_axis

examples.gettingstarted.x_axis = handle.sensors[0].x_axis

Definition at line 25 of file gettingstarted.py.

◆ x_processed

examples.gettingstarted.x_processed

Definition at line 63 of file gettingstarted.py.

◆ y

examples.gettingstarted.y

Definition at line 63 of file gettingstarted.py.

◆ z

examples.gettingstarted.z

Definition at line 63 of file gettingstarted.py.