Description:
Create a high-level wrapper function that runs a standard hyperscanning pipeline in one line.
Context:
Currently, users must call multiple functions in sequence. A wrapper would lower the barrier for beginners while experts can still use individual functions.
Proposed API:
from hypyp import easy
# One-liner for common workflow
results = easy.run_pipeline(
data=[epo1, epo2], # Two participants' epochs
metrics=['plv', 'ccorr'], # Which metrics to compute
freq_bands={'alpha': (8, 12), 'beta': (13, 30)},
stats='permutation', # Optional: run stats
plot=True # Optional: generate figures
)
# Results object with easy access
print(results.plv.alpha) # PLV in alpha band
print(results.stats.significant) # Significant connections
results.plot.save('figures/') # Save all figures
Tasks:
Acceptance Criteria:
Description:
Create a high-level wrapper function that runs a standard hyperscanning pipeline in one line.
Context:
Currently, users must call multiple functions in sequence. A wrapper would lower the barrier for beginners while experts can still use individual functions.
Proposed API:
Tasks:
easy.run_pipeline()functionAcceptance Criteria: