Added xmgrace output for pdos calculation similar to dos calculations#58
Added xmgrace output for pdos calculation similar to dos calculations#58Inker2401 wants to merge 5 commits intooptados-developers:developfrom
Conversation
|
@Inker2401 Apologies for taking so long to look at this. I'm on it now. |
|
Compiles ok Failure in This doesn't look like a bug related to this PR. So I will mend in ''devel'' and merge back into here. |
|
Can't mend it. Oracle's compiler does not fully implement the F2008 standard. Please can we also have a test added to the test suite for generating xmgrace output. It is particularly important for community contributions to have tests, so that we know whether we've broken something in code we didn't write. The test-suite is fully featured (which can make it a tad impenetrable), so happy to advise the steps if necessary. I suggest it's a simple Si2 calculation which tests the output .agr against a benchmark. Once we have that, and we have the few tweaks in the code sorted I'm happy to accept the PR. Many thanks, |
|
Sure I'll try to get it done over the weekend. It looks like you use |
This labelling may not be entirely correct when using hand-selected projectors. This is because all the labels for the projector (symbol, species, species_num and angular momentum) are written out to the label even when some are superfluous. Book-keeping is a bit of a pain for it so probablt easier to adjust plot by hand...
|
@ajm143 Hi, apologies for the delay, took me a while of fighting with Python to get the tests to work. I've rebased my fork against the latest branch of the code. |
A fairly self-contained routine to OptaDOS to write a PDOS batch file to be plotted by xmgrace similar to a DOS. Tested to work in both series and parallel
This is mainly meant for convenience instead of designing the prettiest plots for publication. The main concern is that on top of the 15 colours we have for xmgrace, 'white' is also a colour used (bit of a problem for a white background). Defining additional colours and/or avoiding setting the colour to white may be useful...
In addition, the labelling may not be entirely correct when using hand-selected projectors. This is because all the labels for the projector (symbol, species, species_num and angular momentum) are written to the label even when some are superfluous. Labelling is fine if using
species,species_angorsitesforpdoskeyword.Bookkeeping for it is a bit of a pain so it's easier to adjust the plot by hand...