def copy_sample(self):
        # return copy.deepcopy(self.get_parameters())

        # Shallow copy the data
        data_list = copy.copy(self.data_list)
        self.data_list = []

        # Make a deep copy without the data
        model_copy = copy.deepcopy(self)

        # Reset the data and return the data-less copy
        self.data_list = data_list
        return model_copy
This function returns a numpy array that stores the audio samples of a specified WAV of AIFF file
dataset/ETHPy150Open slinderman/pyhawkes/pyhawkes/models.py/ContinuousTimeNetworkHawkesModel.copy_sample--crossover with--dataset/ETHPy150Open tyiannak/pyAudioAnalysis/audioBasicIO.py/readAudioFile