Skip to content

Commit

Permalink
Some clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnwobi committed Aug 29, 2024
1 parent 9893480 commit 2c704ec
Show file tree
Hide file tree
Showing 16 changed files with 4 additions and 1,821 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,4 @@ __pycache__
/example/batch_fit.csv
# Note: changes to gauss20, gauss76 and gauss150 are still tracked since they
# are part of the repo and required by some models.
/sasmodels/models/lib/gauss*.c
/sasmodels/models/libpy/*.h5
/sasmodels/models/libpy/*.json
/sasmodels/models/lib/gauss*.c
6 changes: 3 additions & 3 deletions example/cylinder_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

from numpy import logspace, sqrt
from matplotlib import pyplot as plt
from ..sasmodels.core import load_model
from ..sasmodels.direct_model import call_kernel, call_Fq
from sasmodels.core import load_model
from sasmodels.direct_model import call_kernel, call_Fq

model = load_model('cylinder')
q = logspace(-3, -1, 20)
q = logspace(-3, -1, 200)
kernel = model.make_kernel([q])
pars = {'radius': 200, 'radius_pd': 0.1, 'scale': 2}
Iq = call_kernel(kernel, pars)
Expand Down
Binary file removed sasmodels/models/New folder/New folder.zip
Binary file not shown.
92 changes: 0 additions & 92 deletions sasmodels/models/New folder/cylinder_rtol3_no_shift.c

This file was deleted.

255 changes: 0 additions & 255 deletions sasmodels/models/New folder/cylinder_rtol3_no_shift.py

This file was deleted.

Loading

0 comments on commit 2c704ec

Please sign in to comment.