Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Precession series results overwritten #9

Open
rwhwebster opened this issue Nov 16, 2018 · 1 comment
Open

Precession series results overwritten #9

rwhwebster opened this issue Nov 16, 2018 · 1 comment

Comments

@rwhwebster
Copy link

Hi there,

I've recently started using the GPU double precision executable version of MuSTEM to simulate a precession series of CBED patterns. I have noticed that when I run this using absorption, this outputs the files with the azimuthal angles conveniently included in the filename to generate an easily identifiable series of files. However, when I use QEP instead, the output filename does not include this, and therefore each new pattern in the series overwrites the previous.

I'm happy to offer to look into this, however I won't have time to do so for a while.

Best,

Robert

@HamishGBrown
Copy link
Owner

Hi Robert,

Thanks for your question. Line 229 of s_absorptive_tem.f90, for absorptive calculations, adds a tilt descriptor to the filename of the output:

if (n_tilts_total>1) filename = trim(adjustl(filename))//tilt_description(claue(:,ntilt),ak1,ss,ig1,ig2)

This line is missing from the equivalent QEP subroutine, and you should add it at line 398 of s_qep_tem.f90. To make the function tilt_description accessible to the subroutine delete , only: tilt_wave_function from line 67 of s_qep_tem.f90:

use m_tilt, only: tilt_wave_function

I've just moved positions so am still finding my feet in terms of having a working compiler etc but I'll make the fix and provide pre-compiled executables shortly.

Cheers,
Hamish

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants