Improve dynamic mode
Dynamic mode has following drawbacks:
- output dataset can't be saved with an argument in YAML file (save_dynamic_data)
- arrays pixel and signal are not included in the output
- output is a tuple of a single dataset instead of just a dataset