ts_shape.features.cycles.cycles_extractor
¤
Classes:
-
CycleExtractor
–Class for processing cycles based on different criteria.
CycleExtractor
¤
Bases: Base
Class for processing cycles based on different criteria.
Methods:
-
get_dataframe
–Returns the processed DataFrame.
-
process_persistent_cycle
–Processes cycles where the value of the variable stays true during the cycle.
-
process_separate_start_end_cycle
–Processes cycles where different variables indicate cycle start and end.
-
process_state_change_cycle
–Processes cycles where the start of a new cycle is the end of the previous cycle.
-
process_step_sequence
–Processes cycles based on a step sequence, where specific integer values denote cycle start and end.
-
process_trigger_cycle
–Processes cycles where the value of the variable goes from true to false during the cycle.
-
process_value_change_cycle
–Processes cycles where a change in the value indicates a new cycle.
Source code in src/ts_shape/features/cycles/cycles_extractor.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
|
get_dataframe
¤
get_dataframe() -> DataFrame
Returns the processed DataFrame.
Source code in src/ts_shape/utils/base.py
34 35 36 |
|
process_persistent_cycle
¤
process_persistent_cycle() -> DataFrame
Processes cycles where the value of the variable stays true during the cycle.
Source code in src/ts_shape/features/cycles/cycles_extractor.py
25 26 27 28 29 30 31 |
|
process_separate_start_end_cycle
¤
process_separate_start_end_cycle() -> DataFrame
Processes cycles where different variables indicate cycle start and end.
Source code in src/ts_shape/features/cycles/cycles_extractor.py
41 42 43 44 45 46 47 |
|
process_state_change_cycle
¤
process_state_change_cycle() -> DataFrame
Processes cycles where the start of a new cycle is the end of the previous cycle.
Source code in src/ts_shape/features/cycles/cycles_extractor.py
57 58 59 60 61 62 63 |
|
process_step_sequence
¤
Processes cycles based on a step sequence, where specific integer values denote cycle start and end.
Source code in src/ts_shape/features/cycles/cycles_extractor.py
49 50 51 52 53 54 55 |
|
process_trigger_cycle
¤
process_trigger_cycle() -> DataFrame
Processes cycles where the value of the variable goes from true to false during the cycle.
Source code in src/ts_shape/features/cycles/cycles_extractor.py
33 34 35 36 37 38 39 |
|
process_value_change_cycle
¤
process_value_change_cycle() -> DataFrame
Processes cycles where a change in the value indicates a new cycle.
Source code in src/ts_shape/features/cycles/cycles_extractor.py
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 |
|