"Guide_to_eevee.ipynb" improvements
Several things for the guide jupyternotebook:
Setting a Background:
.save_background_to_csv()
saves a folder with "background_values". There is no naming for specific dataset. Is this intended behaviour?
Currently if you don't switch folder and run the script on another dataset it will overwrite the file. <- Maybe introduce a input if you are going to overwrite a previous background file or give .save_background_to_csv()
a filename variable like .save_countmaps_as_tif()
has
Countmaps
.rebinned_tree
doesn't work on the imported signal ('s' in guide)
There is a line about "Now the countmaps are saved in Func, and can be accessed with .rebinned_tree
. The structure of it is a dictionary and specific countmaps can be accessed with their X-ray line name."
-
s.rebinned_tree
gives an error: AttributeError: 'edx' object has no attributerebinned_tree
-
s.rebinned_tree()
gives same error.
Maybe give .make_montage()
a 'filename' default value so you can save the montage with a name
Quantification
I am a bit uncertain how to use this part. The function .quantification_CL()
makes quantified maps which are then stored in an attribute. When calling the attribute you get a dictionary with the quantified maps. Can this be converted to a atomic percent?
Making line scans/traces from the countmaps "The following opens two windows where we can choose a line from which the linescan is calculated. You can close the windows when you have selected the line of interest." 'Figure A stack of countmaps Signal' doesn't update. I don't know what this figure shows. Is it a navigator for the countmaps hyperspy signal? in that case the x and y axis are weird. Or is it the counts over the line we choose?