-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request for Code or Guidance on Reversing Gramian Angular Fields Transformation #154
Comments
A sample image would be like this: X = csv
X = X.reshape(1, -1)
gasf = GramianAngularField(method='summation')
X_gasf = gasf.fit_transform(X)
# Plot the time series and its recurrence plot
plt.figure(figsize=(16, 8))
plt.subplot(121)
plt.plot(X[0])
plt.title('Time series', fontsize=16)
plt.subplot(122)
plt.imshow(X_gasf[0], cmap='rainbow', origin='lower')
plt.title('Gramian Angular Field', fontsize=16)
plt.show() |
Hi ljpkok. I am a beginner in GAF and have participated in #132 . I tried to write code for the inverse transformations of GAF by using 2 funcions provided by
I created some data and found |
Dear johannfaouzi,
I'm reaching out regarding discussion #132 regarding transforming images into time series using Gramian Angular Fields. I am currently working on a project related to ECG generation, and I believe that leveraging this method could greatly benefit my research.
After reviewing our previous conversation, I understand that the inverse transformations for the imaging methods are not currently implemented. However, I kindly ask if you could provide me with any code or guidance on how I could potentially reverse the Gramian Angular Fields transformation to obtain the original time series data.
Thank you for your time and expertise.
The text was updated successfully, but these errors were encountered: