You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an Algortihm Developer,
I want to manipulate various .fcsv formats from python
so that a uniform API can be re-used for many purposes
Detailed Description
Generate a SlicerFiducials class to encapsulate the various common operations necessary for manipulating .fcsv files generated from the Slicer tools. Both historical and current .fcsv formats must be supported for reading and writing.
Class items have a test suite to verify that the operations are working correctly.
Appendix
## Partial possible usecasefromslicerfiducialsimportSlicerFiducialsmy_lmks_old=SlicerFiducials( 'BCD_Original.fcsv')
my_lmks_new=SlicerFiducials('BCD_Original_markup.fcsv', image='sub-XXXXX_ses-YYYYY_run-002_echo-1_T1w.nii.gz' )
## Compute IPDipd=my_lmks_old.euclidean_distance('RE','LE')
## compute difference between landmarks from two filesdiff_lmks=SlicerFiducials.diff_files( my_lmks_old, my_lmks_new)
diff_lmks.Write('/tmp/diff.fcsv')
print(diff_lmks)
forname, pointinmy_lmks_new.iter():
print(name)
## get a list of the landmark namesnames=my_lmks_new.names()
The text was updated successfully, but these errors were encountered:
As an
Algortihm Developer
,I want
to manipulate various .fcsv formats from python
so that
a uniform API can be re-used for many purposes
Detailed Description
Generate a SlicerFiducials class to encapsulate the various common operations necessary for manipulating .fcsv files generated from the Slicer tools. Both historical and current .fcsv formats must be supported for reading and writing.
Tasks to be completed
Acceptance Criteria
Black
formatting https://github.com/python/blackAppendix
The text was updated successfully, but these errors were encountered: