... | @@ -99,12 +99,12 @@ Get a new ACTIVE measurement (protect your ears!) in both raw and processed data |
... | @@ -99,12 +99,12 @@ Get a new ACTIVE measurement (protect your ears!) in both raw and processed data |
|
|
|
|
|
```python
|
|
```python
|
|
new_processed_measurement = rtisdev.get_processed_measurement(True)
|
|
new_processed_measurement = rtisdev.get_processed_measurement(True)
|
|
plt.imshow(np.transpose(new_processed_measurement.processedData), cmap="hot", interpolation='nearest')
|
|
|
|
```
|
|
```
|
|
|
|
|
|
Plot the 2D energyscape of this processed measurement using matplotlib:
|
|
Plot the 2D energyscape of this processed measurement using matplotlib:
|
|
|
|
|
|
```python
|
|
```python
|
|
|
|
plt.imshow(np.transpose(new_processed_measurement.processedData), cmap="hot", interpolation='nearest')
|
|
plt.xlabel("Directions (degrees)")
|
|
plt.xlabel("Directions (degrees)")
|
|
plt.ylabel("Range (meters)")
|
|
plt.ylabel("Range (meters)")
|
|
indexes_x = np.arange(0, new_processed_measurement.processedData.shape[0], 20)
|
|
indexes_x = np.arange(0, new_processed_measurement.processedData.shape[0], 20)
|
... | | ... | |