source: sasmodels/sasmodels/models/_bessel.py @ e481a39

core_shell_microgelscostrafo411magnetic_modelrelease_v0.94release_v0.95ticket-1257-vesicle-productticket_1156ticket_1265_superballticket_822_more_unit_tests
Last change on this file since e481a39 was 0f910a7, checked in by smk78, 8 years ago

Changed typo in catergory name that was generating an erroneous toc
entry

  • Property mode set to 100644
File size: 993 bytes
Line 
1r"""
2This is a test function!
3
4Definition
5----------
6
7Calculates a bessel function. Maybe...
8
9References
10----------
11
12None
13"""
14
15from numpy import inf
16
17name = "bessel"
18title = "Bessel function testing"
19description = """\
20Leveraging current infrastructure to test Bessel function performance on
21"""
22category = "special_functions:bessel"
23
24#             ["name", "units", default, [lower, upper], "type","description"],
25#Bessel
26parameters = [
27    ["ignored", "", 0.0, [-inf, inf], "", "no parameterless functions"],
28             ]
29
30source = ["lib/sas_gamma.c"]
31
32# No volume normalization despite having a volume parameter
33# This should perhaps be volume normalized?
34form_volume = """
35    """
36
37Iq = """
38    return sas_gamma(q);
39    """
40
41Iqxy = """
42    // never called since no orientation or magnetic parameters.
43    //return -1.0;
44    """
45
46# VR defaults to 1.0
47
48demo = dict(scale=1, background=0,
49            )
50oldname = "Bessel"
51oldpars = dict()
Note: See TracBrowser for help on using the repository browser.