calculate maximum amplitude in each direction; index configuration will be stored in json file
Merge branch 'exp' of git@github.com:timy/dm_spec into exp