First, we have to add path of the package first
import sys
sys.path.insert(0, '/path/to/emg_gyro/emg_analyzer/')Suppose we already load data using awscli to data/, here is
how to read data from .ASC file into Pandas dataframe
import emg_analyzer as ea
paths_to_asc = ea.list_path('data/')
emg_df = ea.read_asc_file(paths_to_asc[0])We can also read all the path and concat all the result together which will give all data together, i.e.
emg_df_all = ea.read_asc_file_all(paths_to_asc)