WeldingSpotPerformance/src/performance/performance.py

26 lines
408 B
Python
Raw Normal View History

from typing import Optional
import os
import numpy as np
import pandas as pd
from roboter import Performance
class PerformanceProcessor:
def calc_performance(self, path:str, TWC_raw:pd.DataFrame):
factory = Performance()
comm_df, rob_df, TWC_df = factory.job(path, TWC_raw)
if __name__ == "__main__":
path = "D:\downloads\Test2\TeslaTIME29_71_KRCIO.dat"