In [2]:
import sys
import json
import numpy as np
import rpy2
import pywt
from rpy2.robjects.packages import importr
from sklearn.decomposition import PCA
sys.path.append('../classification')
import featureExtraction

In [3]:
lightcurve_path = '../gen_lightcurves/SN2002de_gpsmoothed.json'
with open(lightcurve_path, 'r') as f:
    lightcurve = json.load(f)
all_coeffs = featureExtraction.general_wavelet_coeffs('sym2', )


---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
<ipython-input-3-7a3c9a8bd350> in <module>()
      1 lightcurve_path = '../gen_lightcurves/SN2002de_gpsmoothed.json'
----> 2 with open(lightcurve_path, 'r') as f:
      3     lightcurve = json.load(f)
      4 all_coeffs = featu

FileNotFoundError: [Errno 2] No such file or directory: '../gen_lightcurves/SN2002de_gpsmoothed.json'

In [ ]: