def model(self, nprocs=1): flux_x, rv_x = self.photo_data[0], self.rv_data[0] x = np.append(flux_x, rv_x) flux_inds = np.in1d(x, flux_x, assume_unique=True) rv_inds = np.in1d(x, rv_x, assume_unique=True) mod_flux, mod_rv = photometry.generate(self.params, x, self.rv_body, nprocs) return mod_flux[flux_inds], mod_rv[rv_inds]
def filled_rv_model(self, input_times, nprocs=1): mod_flux, mod_rv = photometry.generate(self.params, input_times, self.rv_body, nprocs) return mod_rv