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)
 
 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
 
 strain_data
 
 strain_processed
 
 strains = strain_data["All"]["strain"]
 
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

Variable Documentation

◆ aggregateobject

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

Definition at line 39 of file gettingstarted.py.

◆ ax1

examples.gettingstarted.ax1

Definition at line 94 of file gettingstarted.py.

◆ ax2

examples.gettingstarted.ax2 = ax1.twinx()

Definition at line 97 of file gettingstarted.py.

◆ axis

examples.gettingstarted.axis

Definition at line 99 of file gettingstarted.py.

◆ c

examples.gettingstarted.c

Definition at line 98 of file gettingstarted.py.

◆ c_l

examples.gettingstarted.c_l = sp.crack_list.x_l

Definition at line 89 of file gettingstarted.py.

◆ c_loc

examples.gettingstarted.c_loc = sp.crack_list.locations

Definition at line 90 of file gettingstarted.py.

◆ c_r

examples.gettingstarted.c_r = sp.crack_list.x_r

Definition at line 91 of file gettingstarted.py.

◆ c_s

examples.gettingstarted.c_s = sp.crack_list.max_strains

Definition at line 88 of file gettingstarted.py.

◆ c_w

examples.gettingstarted.c_w = sp.crack_list.widths

Definition at line 87 of file gettingstarted.py.

◆ cropobject

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

Definition at line 49 of file gettingstarted.py.

◆ fig

examples.gettingstarted.fig

Definition at line 94 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 46 of file gettingstarted.py.

◆ h1

examples.gettingstarted.h1

Definition at line 106 of file gettingstarted.py.

◆ h2

examples.gettingstarted.h2

Definition at line 107 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 108 of file gettingstarted.py.

◆ l1

examples.gettingstarted.l1

Definition at line 106 of file gettingstarted.py.

◆ l2

examples.gettingstarted.l2

Definition at line 107 of file gettingstarted.py.

◆ label

examples.gettingstarted.label

Definition at line 67 of file gettingstarted.py.

◆ labelcolor

examples.gettingstarted.labelcolor

Definition at line 99 of file gettingstarted.py.

◆ labels

examples.gettingstarted.labels

Definition at line 108 of file gettingstarted.py.

◆ loc

examples.gettingstarted.loc

Definition at line 69 of file gettingstarted.py.

◆ ls

examples.gettingstarted.ls

Definition at line 101 of file gettingstarted.py.

◆ marker

examples.gettingstarted.marker

Definition at line 102 of file gettingstarted.py.

◆ maskingobject

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

Definition at line 33 of file gettingstarted.py.

◆ preprocessingobject

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

Definition at line 61 of file gettingstarted.py.

◆ repairobject

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

Definition at line 43 of file gettingstarted.py.

◆ sp

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

Definition at line 73 of file gettingstarted.py.

◆ strain

examples.gettingstarted.strain

Definition at line 100 of file gettingstarted.py.

◆ strain_data

examples.gettingstarted.strain_data

Definition at line 26 of file gettingstarted.py.

◆ strain_processed

examples.gettingstarted.strain_processed

Definition at line 64 of file gettingstarted.py.

◆ strains

examples.gettingstarted.strains = strain_data["All"]["strain"]

Definition at line 29 of file gettingstarted.py.

◆ tasklist

list examples.gettingstarted.tasklist
Initial value:
1= [
2 maskingobject,
3 aggregateobject,
4 repairobject,
5 filterobject,
6 cropobject,
7]

Set the order of the preprocessing tasks.

Definition at line 52 of file gettingstarted.py.

◆ tension_stiffening_values

examples.gettingstarted.tension_stiffening_values

Definition at line 101 of file gettingstarted.py.

◆ times

examples.gettingstarted.times

Definition at line 26 of file gettingstarted.py.

◆ x

examples.gettingstarted.x

Definition at line 64 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 64 of file gettingstarted.py.

◆ y

examples.gettingstarted.y

Definition at line 64 of file gettingstarted.py.

◆ z

examples.gettingstarted.z

Definition at line 64 of file gettingstarted.py.