def duplicate_with_new_array(self, signal):
        #signal is the new signal
        new = self.__class__(signal=signal, units=self.units,
                             sampling_rate=self.sampling_rate)
        new._copy_data_complement(self)
        new.annotations.update(self.annotations)
        return new
Retrieves details about how to upload files to this instance.
dataset/ETHPy150Open NeuralEnsemble/python-neo/neo/core/analogsignal.py/BaseAnalogSignal.duplicate_with_new_array--crossover with--dataset/ETHPy150Open buildingenergy/buildingenergy-platform/data_importer/views.py/get_upload_details