Hi Niklas,
Welcome! As a follow-up, here are some quick tips (making a "cookbook" is still on my to-do list...) from the data.
Looking at your test file, it looks like it has 6 channels of information. For easier access, it helps to use some of benefits of pyUSID (the actual data format/interfacing package):
So, from Rama's code, we have main_dsets, which is a list of all the "main" datasets. The first one is height, so we could do
height = main_dsets[0]
If you just type "height" on the command line, it shows a lot of cool information about your dataset! If you wanted to just plot it, you could do so:
height.visualize()
And that's it! Visualize takes lots of common Python plotting arguments, so if you were to write "cmap = inferno" it would look like the conventional AFM coloscale. There are lots of colormap, of course.
To access your data directly, you extract the array from your dataset.
height_array = height[()]
height_array = height.get_n_dim_form()
Rama and Suhas can probably suggest further steps as you need! :)
Best,
Raj