Larch: GSE Mapviewer export error
Hello I made correlation plots in the GSE Mapviewer and am trying to export the data. When I click file, export data. I get an error that says 'Export Data to ASCII: Export Data not available" I have tried to do this on both a Mac and Windows. Has anyone else encountered this and know a way around it? Thank you, Naomi
Hi Naomi,
You are right, neither the correlation plot nor the tri-color map plots
correctly export data. I'll add those to the To Do list.
You can export the data for each map from a single map display.
To write out a text file with correlated intensities as shown in the
correlation plot, you could do something like this in the Larch buffer:
> print( map001.filename)
> fe_map = map001.get_roimap('Fe Ka')
> zn_map = map001.get_roimap('Zn Ka')
> write_ascii('correlaton.txt', fe_map.flatten(), zn_map.flatten(),
label='Fe Zn')
Note that as the map files are read in, they'll be named 'map001',
'map002', etc - you can print the filename to see that you have the right
one.
The fe_map and zn_map arrays will be 2D arrays so you have to "flatten"
them to write them out to a text file.
If you read that text file back in, you can make a single scatter plot, as
shown in the correlation plot window:
> cdat = read_ascii('correlation.txt')
> scatterplot(cdat.fe, cdat.zn)
Yeah, that's a little bit of typing code, but it will let
On Fri, Oct 5, 2018 at 3:18 PM Naomi Intrator
Hello
I made correlation plots in the GSE Mapviewer and am trying to export the data. When I click file, export data. I get an error that says 'Export Data to ASCII: Export Data not available" I have tried to do this on both a Mac and Windows. Has anyone else encountered this and know a way around it?
Thank you, Naomi _______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit
-- --Matt Newville <newville at cars.uchicago.edu> 630-252-0431
Hello
I recently received a series of emails about "Ifeffit". I wonder if you made a mistake, because I have no idea about the content of the email.
Please confirm if it is convenient.
Thank you,
-----原始邮件-----
发件人:"Naomi Intrator"
On Fri, Oct 5, 2018 at 10:11 PM
Hello
I recently received a series of emails about "Ifeffit". I wonder if you made a mistake, because I have no idea about the content of the email. Please confirm if it is convenient. Thank you,
Um, I don't think a mistake was made. Naomi asked a question about using Larch's Mapviewer application. --Matt
participants (3)
-
Matt Newville
-
Naomi Intrator
-
wbcai@mail.ustc.edu.cn