change scale of EBSD maps

289 views
Skip to first unread message

grandr...@gmail.com

unread,
May 4, 2016, 9:57:18 PM5/4/16
to MTEX
Hello I am importing .ctf files of EBSD data into Mtex, and have three quick questions;

1.  I would like to override the scale information (pixel:micron information) as the one in the .ctf is slightly incorrect due to a calibration issue we had last year.  Is there a way to do this via MTEX or do I have to edit the .ctf manually? 

2; Can MTEX correctly deal with EBSD data where the x and y grid spacing is different? 
3. Can the gridify function deal with EBSD data
where the x and y grid spacing is different

Our SEM never outputs a perfectly square grid, it's always slightly rectangular which can be inconvenient.

Thank you, Jessica.

Thomas Simm

unread,
May 5, 2016, 4:37:59 AM5/5/16
to MTEX
I also wanted to do something similar, change x and y values, as I recall I tried changing them using something like ebsd.x=ebsd.x*1.2 but this didn't work for some reason so I gave up because it wasn't important at the time.
An area where it would be useful for me is to correct for drift, so for example we could compare the SEM image with the EBSD map find the drift as a vector field and then change ebsd.x and ebsd.y to remove the drift
Tom

Rüdiger Kilian

unread,
May 5, 2016, 4:47:12 AM5/5/16
to mtex...@googlegroups.com
Hello,
to change the scaling and strange rounding errors in the  ebsd stepsize, changing ebsd.unitCell sort of worked for me.
All the best,
Rüdiger


From: mtex...@googlegroups.com [mtex...@googlegroups.com] on behalf of Thomas Simm [thoma...@gmail.com]
Sent: Thursday, May 05, 2016 10:37 AM
To: MTEX
Subject: {MTEX} Re: change scale of EBSD maps

--
If you want to reduce the number of emails you get through this forum login to https://groups.google.com/forum/?fromgroups=#!forum/mtexmail, click "My membership" and select "Don't send me email updates". You can still get emails on selected topics by staring them.
---
You received this message because you are subscribed to the Google Groups "MTEX" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mtexmail+u...@googlegroups.com.
Visit this group at https://groups.google.com/group/mtexmail.
For more options, visit https://groups.google.com/d/optout.

grandr...@gmail.com

unread,
May 10, 2016, 9:01:44 PM5/10/16
to mtex...@googlegroups.com
So to answer my own questions,

1.  No, you cannot override the scale information using statements such as ebsd.x=ebsd.x*0.9108+0.0255.  For .ctf imports, editing the header (spacing in x or y) does not work either.  You must alter the location of each grid point, which can be done in excel.

2.  Yes, the ebsd workspace variable can handle different ebsd.x and ebsd.y spacings.

3.  I haven't checked gridify yet.

Jessica

Ralf Hielscher

unread,
May 12, 2016, 5:07:46 PM5/12/16
to MTEX
Hi Jessica,

let me try to answer

1) overriding scale information should work as you did it. The important thing is to recompute the unitCell by

ebsd.x=ebsd.x*0.9108+0.0255
ebsd
.unitCell = calcUnitCell([ebsd.prop.x(:),ebsd.prop.y(:)]);

I might try that unitCell is updated automatically in future releases. 

3) gridify should work as well
 
Ralf.

Reply all
Reply to author
Forward
0 new messages