Skip to content

analyze function #106

Open
Open
@adityabhandwalkar

Description

@adityabhandwalkar

Hello community ,

I would like to ask your help regarding the analyze function in the pan matrix profile, Here is the code I'm using

class sample():

    def demos(self,path):
        #Reading the data from the file
        df = pd.read_csv(path)
        data = np.array(df.iloc[:,2])
        data = data[10000000:10010000]
        
        print(data)
        plt.title('vibration')
        plt.xlabel('Time')
        plt.ylabel('Vibration ')
        plt.plot(data)
        plt.show()
        profile, figures = mp.analyze(data)

and it is showing following line in command .py:433: UserWarning: This figure includes Axes that are not compatible with tight_layout, so results might be incorrect. fig.tight_layout(). I would like to plot the plots which are mentioned in this tutorial

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions