Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SaQC
Manage
Activity
Members
Labels
Plan
Issues
36
Issue boards
Milestones
Wiki
Code
Merge requests
8
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
rdm-software
SaQC
Commits
a6f04a4e
Commit
a6f04a4e
authored
5 years ago
by
Peter Lünenschloß
Browse files
Options
Downloads
Patches
Plain Diff
Update FunctionDescriptions.md
parent
5f124c7c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/FunctionDescriptions.md
+45
-8
45 additions, 8 deletions
docs/FunctionDescriptions.md
with
45 additions
and
8 deletions
docs/FunctionDescriptions.md
+
45
−
8
View file @
a6f04a4e
...
...
@@ -627,17 +627,54 @@ Key word overview:
`
inter_method
`:
1. Shifts:
* `
"fshift"
`:
* `
"bshift"
`:
* `
"nearest_shift"
`:
* `
"fshift"
`:
every grid point gets assigned its ultimately preceeding value - if there is one available in the preceeding sampling interval.
* `
"bshift"
`:
every grid point gets assigned its first succeeding value - if there is one available in the succeeding sampling interval.
* `
"nearest_shift"
`:
every grid point gets assigned the nearest value in its range. ( range = +/- `
freq
`/2 ).
2. Aggregations:
* `
"fagg"
`:
* `
"bagg"
`:
* `
"nearest_agg"
`:
* `
"fagg"
`: all values in a sampling interval get aggregated with the function passed to `
agg_method
`
, and the result gets assigned to the last grid point.
* `
"bagg"
`: all values in a sampling interval get aggregated with the function passed to `
agg_method
`
, and the result gets assigned to the next grid point.
* `
"nearest_agg"
`: all values in the range (+/- freq/2) of a grid point get
aggregated with the function passed to agg_method and assigned to it.
3. Interpolations:
*
* There are available all the interpolation methods from the pandas.interpolate() method and they can be reffered to with
the very same keywords, that you would pass to pd.Series.interpolates's method parameter.
* Available interpolations: ´"linear"´, ´"time"´, ´"nearest"´, ´"zero"´, ´"slinear"´,
´"quadratic"´, ´"cubic"´, ´"spline"´, ´"barycentric"´, ´"polynomial"´, ´"krogh"´,
´"piecewise_polynomial"´, ´"spline"´, ´"pchip"´, ´"akima"´.
* If a selected interpolation method needs to get passed an order of
interpolation, it will get passed the order, passed to `
inter_order
`.
* Note, that ´"linear"´ does not refer to timestamp aware, linear
interpolation, but will equally weight every period, no matter how great
the covered time gap is. Instead, a timestamp aware, linear interpolation is performed
upon ´"time"´ passed as keyword.
* Be careful with pd.Series.interpolate's `
"nearest"
` and `
"pad"
`:
To just fill grid points forward/backward or from the nearest point - and
assign grid points, that refer to missing data, a nan value, the use of `
"fshift"
`, `
"bshift"
` and `
"nearest_shift"
` is
recommended, to ensure getting the result expected. (The methods diverge in some
special cases and do not properly interpolate grid-only.).
`
reshape_method
` - (format currently broken - will solve tomorrow!)
* `
"fshift"
`/`
"'bshift"
`: forward/backward projection. Only the very
first/last flag will be projected onto the last/next grid point.
Extra flag fields like "comment", just get shifted along with the flag.
Only inserted flags for empty intervals will take the **kwargs argument.
Set "`
set_shift_comment
`"" to `
True
`, to apply kwargs** to all flags.
* `
"fagg"
`/`
"bagg"
`:All flags, referring to a sampling intervals measurements get aggregated forward/backward
with the agg_method selected.
* `
"nearest_shift"
`: Every grid point gets assigned the nearest flag in its range
(range = grid_point +/-(`
"freq"
`/2)).Extra flag fields like comment,
just get shifted along with the flag. Only inserted flags for empty intervals will take the
**kwargs argument.
* `
"nearest_agg"
`: Every grid point gets assigned the aggregation (generated by the function passed to `
agg_method
`
),
of all the flags in its range.
`
reshape_method
`
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment