Changes in / [6dccecc:a430f5f] in sasmodels
- Location:
- sasmodels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/direct_model.py
ra7db39fa rfacb052 59 59 """ 60 60 mesh = get_mesh(calculator.info, pars, dim=calculator.dim, mono=mono) 61 #print("in call_kernel: pars:", list(zip(*mesh))[0])61 print("in call_kernel: pars:", list(zip(*mesh))[0]) 62 62 call_details, values, is_magnetic = make_kernel_args(calculator, mesh) 63 63 #print("in call_kernel: values:", values) … … 118 118 active = lambda name: True 119 119 120 #print("in get_mesh: pars:",[p.id for p in parameters.call_parameters])120 print("in get_mesh: pars:",[p.id for p in parameters.call_parameters]) 121 121 mesh = [_get_par_weights(p, values, active(p.name)) 122 122 for p in parameters.call_parameters] -
sasmodels/model_test.py
ra7db39fa ra430f5f 240 240 s_name = pars.pop('@S') 241 241 ps_test = [pars] + list(test[1:]) 242 #print("PS TEST PARAMS!!!",ps_test)243 242 # build the P@S model 244 243 s_info = load_model_info(s_name) 244 #print("in run_all: s_info:", s_info) 245 245 ps_info = product.make_product_info(self.info, s_info) 246 246 ps_model = build_model(ps_info, dtype=self.dtype, 247 247 platform=self.platform) 248 248 # run the tests 249 self.info = ps_model.info250 #print("SELF.INFO PARAMS!!!",[p.id for p in self.info.parameters.call_parameters])251 #print("PS MODEL PARAMETERS:",[p.id for p in ps_model.info.parameters.call_parameters])252 249 results.append(self.run_one(ps_model, ps_test)) 253 250 … … 400 397 if par == product.STRUCTURE_MODE_ID: 401 398 continue 399 if par == "radius_effective": # test should not need this?? 400 continue 402 401 parts = par.split('_pd') 403 402 if len(parts) > 1 and parts[1] not in ("", "_n", "nsigma", "type"):
Note: See TracChangeset
for help on using the changeset viewer.