def main(filepath, start, end, alpha): print(f'Start\t\n') print(f'{filepath}\t{start}\t{end}\t{alpha}') smoother = Smoother(filepath, start, end, alpha) if start is None and end is None and alpha is None: smoother.plot(isRaw=True).savefig('Raw.png') else: smoother.plot(isRaw=False, alpha=alpha, start=start, end=end).savefig( f'smoothed_from_{start}_to_{end}_with_{alpha}.png') print(f'End\t\n') return 0