Author Topic: How can I output all the burger's vectors?  (Read 113 times)


  • Newbie
  • *
  • Posts: 3
How can I output all the burger's vectors?
« on: March 03, 2019, 10:01:32 PM »
Dear Alex and all,

I am trying to output all the burgers vector of dislocations after DXA in a file. Even now I can see all the detail burgers vector in the table like attached, I can not save them. Is there any solution for this? Thank you.

Alexander Stukowski

  • Administrator
  • Hero Member
  • *****
  • Posts: 595
Re: How can I output all the burger's vectors?
« Reply #1 on: March 07, 2019, 08:47:02 AM »

Yeah, there currently is no convenient way of exporting this specific table to an output file. The only option you have is to use a Python script to print the information of each dislocation line to the console or an output text file. The example code snippet found here shows how do this. It's a simple loop over all dislocation lines:

Code: [Select]
data = pipeline.compute()
for segment in data.dislocations.segments:
    print("Segment %i: length=%f, Burgers vector=%s" % (, segment.length, segment.true_burgers_vector))