<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_IC(self, values):
 r""" A method to set simulation initial conditions Parameters values : ND-array or scalar Set the initial conditions using an 'Np' long array. 'Np' being the number of pores. If a scalar is given, the same value is imposed to all pores. """

        self[self.settings['quantity']] = values
        converted_array = self[self.settings['quantity']].astype('float64')
        self[self.settings['quantity']] = converted_array