<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_discreteepochs(self, discreteepochs):
 """Set a list of discrete epochs, epochs have to be given as Julian Dates :param discreteepochs: array_like list or 1D array of floats or strings :return: None """

        if not isinstance(discreteepochs, (list, np.ndarray)):
            discreteepochs = [discreteepochs]

        self.discreteepochs = list(discreteepochs)