-
Notifications
You must be signed in to change notification settings - Fork 95
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
ProjDataInfoGeneric et al need TOF changes #1307
Comments
The practical issue is that The more conceptual difficulty is that
The "logical" thing to do seems to be to remove the "interleaved" functionality from This is however hard, as currently the "generic"/"blocks" types are only handling span=1 and no mashing. Indeed, when there are (sizeable) axial gaps between blocks, strictly speaking "span" probably doesn't make a lot of sense, but in practice, many scanners use it anyway (as either the gaps are small, or they are "filled" with virtual crystals). Other notes:
Surprisingly, this seems to imply that a first line of attack could be to
This is ugly as the logic is still wrong, but it would resolve a lot of code issues with fairly small changes (and without breaking backwards compatibility). The next small step could then be @markus-jehl @danieldeidda @NikEfth what do you think? |
I'm definitely in favour of simplifying the class hierarchy and culling the ones that add very little! Currently I don't see how the proposed first line of attack reduces the code duplication for BlocksOnCylindrical, though. In "2." you may have a typo, which may be why I don't understand it :-) |
:-)! should have been
|
In this case I think your proposed change makes a lot of sense! It's still the wrong architecture, but for now it should do the trick for most functions. |
ProjDataInfoGenericNoArcCorr
currently contains a lot of copies of theProjDataInfocylindricalNoArcCorr
functions. this means the TOF changes need to be ported to the generic version. We also have to check the Block functions.Ideally we do this by cleaning up the hierarchy, as opposed to creating even more duplication.
The text was updated successfully, but these errors were encountered: