hkl indices converted to int also for .incomm files #19
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: ivan-usov
In a situation, where
hkl
indices are real numbers the export file extension is.incomm
. However, in the export function they are converted to integers:b5b77d165a/pyzebra/ccl_io.py (L241-L243)
This doesn't look correct.
Created by: zaharko
I think this is working correct now, but I ask for a possibility to extend format up to 4 digits after comma.
A default format - 2 digits, but exceptionally user should be able to request till 4 digits.
Created by: zaharko
ccl_intergation:
In the table on the left all hkl indices are integers, which is not correct.
Created by: ivan-usov
I think the best would be to auto-detect if there is a need for more digits after comma (with a minimum of 2 and a maximum of 4). The output will be formatted accordingly.
Created by: ivan-usov
Would it be also ok to export numbers with trailing 0s truncated? In other words:
1.23456 -> 1.2345 (max 4 digits)
1.2340 -> 1.234
1.000 -> 1 (here, i'm not sure if you'd like to have 1.00)
Created by: ivan-usov
The issue with hkl indices in the table is fixed in
0d8a30b995
Created by: zaharko
Okay to:
This should be truncated to the same amount of digits as other indices, i.e. if request is 4 digits, then for all h, k and l