Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • RTIS Dev Remote Python Wrapper RTIS Dev Remote Python Wrapper
  • Project information
    • Project information
    • Activity
    • Members
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Wiki
    • Wiki
  • Activity
Collapse sidebar
  • RTIS Software
  • RTIS Dev Remote Python WrapperRTIS Dev Remote Python Wrapper
  • Wiki
  • Home

Home · Changes

Page history
Update home authored Dec 21, 2022 by Wouter Jansen's avatar Wouter Jansen
Hide whitespace changes
Inline Side-by-side
home.md
View page @ 913648a1
......@@ -54,6 +54,13 @@ measurement_raw = rtisdev.get_raw_measurement(behaviour=true)
measurement_processed_from_raw = rtisdev.process_measurement(measurement_raw)
```
If one has RTIS Dev fully installed and imported, one can also use the function `convert_to_rtis_class(rtis_dict)` to convert the dictionary objects back to the full RTIS Dev custom class objects. For example:
```python
import rtisdev as fullrtisdev
measurement_processed_from_raw = rtisdev.process_measurement(measurement_raw)
measurement_processed_from_raw_converted = rtisdev.convert_to_rtis_class(measurement_processed_from_raw)
```
## Example
A bigger example showing how to connect, record and process a measurement and plot the RTIS Energyscape.
```python
......@@ -68,8 +75,8 @@ rtisdev = rtisdevremotepy.RTISDev("192.168.1.150")
rtisdev.open_connection()
# Configure the recording and processing settings
rtisdev.set_recording_settings(premade="default_25_50")
rtisdev.set_processing_settings(premade="2D_5m_181")
config_uuid = rtisdev.set_recording_settings(premade="default_25_50")
rtisdev.set_processing_settings(premade="2D_5m_181", configName=config_uuid)
settings = rtisdev.get_current_settings()
# Get an ACTIVE measurement (protect your ears!) and process it
......
Clone repository
  • Home