(Adaptive) Optimal Basis sets for Ballistocardiographic Artefact removal

I’m wondering if anyone in this community has created a python implementation of the optimal basis sets method to remove BCG artefacts as seen in the paper by Niazy in 2005. It’s implemented for MATLAB in the fmrib package, and I’m wondering if there’s anything similar here?

Further, has anyone expanded this to adopt the approach by Marino et. al. 2018 where they implement adaptive optimal basis sets for the removal of the cardiac artefact?

I’m trying to make the switch from MATLAB to python, and this would really help with the move!

Thank you all :slight_smile: