Open dkrako opened 1 year ago
Followup to #508 where it would be even nice to not have to convert from edf to asc manually.
Function signature proposal:
def from_edf( path: str | Path, asc_path: str | Path | None = None, retain_asc: bool = False, edf2asc_path: str | Path | None, ) -> GazeDataFrame:
In the function edf2asc from SR research would need to be called and an asc file will be created at the asc_path.
edf2asc
asc
asc_path
.asc
edf2asc_path
retain_asc=True
Description of the problem
Followup to #508 where it would be even nice to not have to convert from edf to asc manually.
Description of a solution
Function signature proposal:
In the function
edf2asc
from SR research would need to be called and anasc
file will be created at theasc_path
.asc_path
is given, the same directory as the input file is chosen with the same file stem but with an.asc
extension.edf2asc_path
is not specified, the place should be automatically inferred from default places.edf2asc
can be found, a helpful error message with a link to the sr research forum should be printed.retain_asc=True
. We should discuss what the default should be.