These scripts are used to assess optimal filter settings for ERP research. A brief describe can be found: https://github.com/lucklab/erplab/wiki/Selecting-Optimal-Filters-with-ERPLAB-Toolbox.
For the details about the approach, please read: Zhang, G., Garrett, D. R., & Luck, S. J. (2024). Optimal filters for ERP research I: A general approach for selecting filter
settings. Psychophysiology, 00, e14531. https://doi.org/10.1111/psyp.14531
The recommended optimal filter cutoffs for the seven ERP components in ERPCORE and for the four scoring methods, please read: Zhang, G., Garrett, D. R., & Luck, S. J. (2024). Optimal filters for ERP research II: Recommended settings for seven common ERP components. Psychophysiology, 00, e14530. https://doi.org/10.1111/psyp.14530