Describe the bug
After loading and analyzing a Profiler file using DeviceFieldAnalysis, calling the results_data() method gives an AttributeError because there is no central_roi attribute.
To Reproduce
Steps to reproduce the behavior:
Load a Profiler .prm file using DeviceFieldAnalysis, then run analyze().
Call results_data().
Receive error: AttributeError: 'DeviceFieldAnalysis' object has no attribute 'central_roi'
Expected behavior
Returning the results_data dictionary.
Additional context
Adding a central_roi class to the DeviceFieldAnalysis object with attributes max, mean, std, and min set to None fixes the issue, but I'm not sure if that is the proper way to address this.
Describe the bug After loading and analyzing a Profiler file using DeviceFieldAnalysis, calling the results_data() method gives an AttributeError because there is no central_roi attribute.
To Reproduce Steps to reproduce the behavior:
Expected behavior Returning the results_data dictionary.
Additional context Adding a central_roi class to the DeviceFieldAnalysis object with attributes max, mean, std, and min set to None fixes the issue, but I'm not sure if that is the proper way to address this.