Write trace co-ordinates to file #595
Labels
DNATracing
Issues pertaining to the DNATracing class
duplicate
This issue or pull request already exists
IO
Input and Output
Milestone
As part of the in-progress DNA Tracing refactoring (#183) the
writeCoordinates()
method ofdnaTrace
class has been removed as it was not used anywhere.@Jean-Du has indicated it is a desirable feature to retain though.
As this is an I/O (Input/Output) operation a new function should be written when refactoring
dnaTrace
that can be used to write these to file.Currently multiple
np.ndarray
are appended so that all grains co-ordinates are written to a single file. With the intended restructuring such thattraceDNA
class processes individual grains and the looping over multiple grains is handled bytopostats.processing.process_scan()
then it will have to return the co-ordinates (ideally as apd.DataFrame
) so that they can be concatenated and written to CSV.The text was updated successfully, but these errors were encountered: