source: sasview/sansmodels/src/sans/models/c_models/CCylinderModel.cpp @ 975ec8e

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 975ec8e was 975ec8e, checked in by Jae Cho <jhjcho@…>, 15 years ago

working on 2D models. Still need smore corrections and unit tests.

  • Property mode set to 100644
File size: 21.0 KB
Line 
1/**
2        This software was developed by the University of Tennessee as part of the
3        Distributed Data Analysis of Neutron Scattering Experiments (DANSE)
4        project funded by the US National Science Foundation.
5
6        If you use DANSE applications to do scientific research that leads to
7        publication, we ask that you acknowledge the use of the software with the
8        following sentence:
9
10        "This work benefited from DANSE software developed under NSF award DMR-0520547."
11
12        copyright 2008, University of Tennessee
13 */
14
15/** CCylinderModel
16 *
17 * C extension
18 *
19 * WARNING: THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
20 *          DO NOT MODIFY THIS FILE, MODIFY cylinder.h
21 *          AND RE-RUN THE GENERATOR SCRIPT
22 *
23 */
24#define NO_IMPORT_ARRAY
25#define PY_ARRAY_UNIQUE_SYMBOL PyArray_API_sans
26 
27extern "C" {
28#include <Python.h>
29#include <arrayobject.h>
30#include "structmember.h"
31#include <stdio.h>
32#include <stdlib.h>
33#include <math.h>
34#include <time.h>
35#include "cylinder.h"
36}
37
38#include "models.hh"
39#include "dispersion_visitor.hh"
40
41/// Error object for raised exceptions
42static PyObject * CCylinderModelError = NULL;
43
44
45// Class definition
46typedef struct {
47    PyObject_HEAD
48    /// Parameters
49    PyObject * params;
50    /// Dispersion parameters
51    PyObject * dispersion;
52    /// Underlying model object
53    CylinderModel * model;
54    /// Log for unit testing
55    PyObject * log;
56} CCylinderModel;
57
58
59static void
60CCylinderModel_dealloc(CCylinderModel* self)
61{
62    self->ob_type->tp_free((PyObject*)self);
63   
64
65}
66
67static PyObject *
68CCylinderModel_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
69{
70    CCylinderModel *self;
71   
72    self = (CCylinderModel *)type->tp_alloc(type, 0);
73   
74    return (PyObject *)self;
75}
76
77static int
78CCylinderModel_init(CCylinderModel *self, PyObject *args, PyObject *kwds)
79{
80    if (self != NULL) {
81       
82        // Create parameters
83        self->params = PyDict_New();
84        self->dispersion = PyDict_New();
85        self->model = new CylinderModel();
86       
87        // Initialize parameter dictionary
88        PyDict_SetItemString(self->params,"scale",Py_BuildValue("d",1.000000));
89        PyDict_SetItemString(self->params,"length",Py_BuildValue("d",400.000000));
90        PyDict_SetItemString(self->params,"cyl_theta",Py_BuildValue("d",1.000000));
91        PyDict_SetItemString(self->params,"background",Py_BuildValue("d",0.000000));
92        PyDict_SetItemString(self->params,"radius",Py_BuildValue("d",20.000000));
93        PyDict_SetItemString(self->params,"contrast",Py_BuildValue("d",0.000003));
94        PyDict_SetItemString(self->params,"cyl_phi",Py_BuildValue("d",1.000000));
95        // Initialize dispersion / averaging parameter dict
96        DispersionVisitor* visitor = new DispersionVisitor();
97        PyObject * disp_dict;
98        disp_dict = PyDict_New();
99        self->model->radius.dispersion->accept_as_source(visitor, self->model->radius.dispersion, disp_dict);
100        PyDict_SetItemString(self->dispersion, "radius", disp_dict);
101        disp_dict = PyDict_New();
102        self->model->length.dispersion->accept_as_source(visitor, self->model->length.dispersion, disp_dict);
103        PyDict_SetItemString(self->dispersion, "length", disp_dict);
104        disp_dict = PyDict_New();
105        self->model->cyl_theta.dispersion->accept_as_source(visitor, self->model->cyl_theta.dispersion, disp_dict);
106        PyDict_SetItemString(self->dispersion, "cyl_theta", disp_dict);
107        disp_dict = PyDict_New();
108        self->model->cyl_phi.dispersion->accept_as_source(visitor, self->model->cyl_phi.dispersion, disp_dict);
109        PyDict_SetItemString(self->dispersion, "cyl_phi", disp_dict);
110
111
112         
113        // Create empty log
114        self->log = PyDict_New();
115       
116       
117
118    }
119    return 0;
120}
121
122static PyMemberDef CCylinderModel_members[] = {
123    {"params", T_OBJECT, offsetof(CCylinderModel, params), 0,
124     "Parameters"},
125        {"dispersion", T_OBJECT, offsetof(CCylinderModel, dispersion), 0,
126          "Dispersion parameters"},     
127    {"log", T_OBJECT, offsetof(CCylinderModel, log), 0,
128     "Log"},
129    {NULL}  /* Sentinel */
130};
131
132/** Read double from PyObject
133    @param p PyObject
134    @return double
135*/
136double CCylinderModel_readDouble(PyObject *p) {
137    if (PyFloat_Check(p)==1) {
138        return (double)(((PyFloatObject *)(p))->ob_fval);
139    } else if (PyInt_Check(p)==1) {
140        return (double)(((PyIntObject *)(p))->ob_ival);
141    } else if (PyLong_Check(p)==1) {
142        return (double)PyLong_AsLong(p);
143    } else {
144        return 0.0;
145    }
146}
147/**
148 * Function to call to evaluate model
149 * @param args: input numpy array q[]
150 * @return: numpy array object
151 */
152 
153static PyObject *evaluateOneDim(CylinderModel* model, PyArrayObject *q){
154    PyArrayObject *result;
155   
156    // Check validity of array q , q must be of dimension 1, an array of double
157    if (q->nd != 1 || q->descr->type_num != PyArray_DOUBLE)
158    {
159        //const char * message= "Invalid array: q->nd=%d,type_num=%d\n",q->nd,q->descr->type_num;
160        //PyErr_SetString(PyExc_ValueError , message);
161        return NULL;
162    }
163    result = (PyArrayObject *)PyArray_FromDims(q->nd, (int *)(q->dimensions), 
164                                                                                  PyArray_DOUBLE);
165        if (result == NULL) {
166        const char * message= "Could not create result ";
167        PyErr_SetString(PyExc_RuntimeError , message);
168                return NULL;
169        }
170         for (int i = 0; i < q->dimensions[0]; i++){
171      double q_value  = *(double *)(q->data + i*q->strides[0]);
172      double *result_value = (double *)(result->data + i*result->strides[0]);
173      *result_value =(*model)(q_value);
174        }
175    return PyArray_Return(result); 
176 }
177
178 /**
179 * Function to call to evaluate model
180 * @param args: input numpy array  [x[],y[]]
181 * @return: numpy array object
182 */
183 static PyObject * evaluateTwoDimXY( CylinderModel* model, 
184                              PyArrayObject *x, PyArrayObject *y)
185 {
186    PyArrayObject *result;
187    int i,j, x_len, y_len, dims[2];
188    //check validity of input vectors
189    if (x->nd != 2 || x->descr->type_num != PyArray_DOUBLE
190        || y->nd != 2 || y->descr->type_num != PyArray_DOUBLE
191        || y->dimensions[1] != x->dimensions[0]){
192        const char * message= "evaluateTwoDimXY  expect 2 numpy arrays";
193        PyErr_SetString(PyExc_ValueError , message); 
194        return NULL;
195    }
196   
197        if (PyArray_Check(x) && PyArray_Check(y)) {
198            x_len = dims[0]= x->dimensions[0];
199        y_len = dims[1]= y->dimensions[1];
200           
201            // Make a new double matrix of same dims
202        result=(PyArrayObject *) PyArray_FromDims(2,dims,NPY_DOUBLE);
203        if (result == NULL){
204            const char * message= "Could not create result ";
205        PyErr_SetString(PyExc_RuntimeError , message);
206            return NULL;
207            }
208       
209        /* Do the calculation. */
210        for ( i=0; i< x_len; i++) {
211            for ( j=0; j< y_len; j++) {
212                double x_value = *(double *)(x->data + i*x->strides[0]);
213                    double y_value = *(double *)(y->data + j*y->strides[1]);
214                        double *result_value = (double *)(result->data +
215                              i*result->strides[0] + j*result->strides[1]);
216                        *result_value = (*model)(x_value, y_value);
217            }           
218        }
219        return PyArray_Return(result); 
220       
221        }else{
222                    PyErr_SetString(CCylinderModelError, 
223                   "CCylinderModel.evaluateTwoDimXY couldn't run.");
224                return NULL;
225                }       
226}
227/**
228 *  evalDistribution function evaluate a model function with input vector
229 *  @param args: input q as vector or [qx, qy] where qx, qy are vectors
230 *
231 */ 
232static PyObject * evalDistribution(CCylinderModel *self, PyObject *args){
233        PyObject *qx, *qy;
234        PyArrayObject * pars;
235        int npars ,mpars;
236       
237        // Get parameters
238       
239            // Reader parameter dictionary
240    self->model->scale = PyFloat_AsDouble( PyDict_GetItemString(self->params, "scale") );
241    self->model->length = PyFloat_AsDouble( PyDict_GetItemString(self->params, "length") );
242    self->model->cyl_theta = PyFloat_AsDouble( PyDict_GetItemString(self->params, "cyl_theta") );
243    self->model->background = PyFloat_AsDouble( PyDict_GetItemString(self->params, "background") );
244    self->model->radius = PyFloat_AsDouble( PyDict_GetItemString(self->params, "radius") );
245    self->model->contrast = PyFloat_AsDouble( PyDict_GetItemString(self->params, "contrast") );
246    self->model->cyl_phi = PyFloat_AsDouble( PyDict_GetItemString(self->params, "cyl_phi") );
247    // Read in dispersion parameters
248    PyObject* disp_dict;
249    DispersionVisitor* visitor = new DispersionVisitor();
250    disp_dict = PyDict_GetItemString(self->dispersion, "radius");
251    self->model->radius.dispersion->accept_as_destination(visitor, self->model->radius.dispersion, disp_dict);
252    disp_dict = PyDict_GetItemString(self->dispersion, "length");
253    self->model->length.dispersion->accept_as_destination(visitor, self->model->length.dispersion, disp_dict);
254    disp_dict = PyDict_GetItemString(self->dispersion, "cyl_theta");
255    self->model->cyl_theta.dispersion->accept_as_destination(visitor, self->model->cyl_theta.dispersion, disp_dict);
256    disp_dict = PyDict_GetItemString(self->dispersion, "cyl_phi");
257    self->model->cyl_phi.dispersion->accept_as_destination(visitor, self->model->cyl_phi.dispersion, disp_dict);
258
259       
260        // Get input and determine whether we have to supply a 1D or 2D return value.
261        if ( !PyArg_ParseTuple(args,"O",&pars) ) {
262            PyErr_SetString(CCylinderModelError, 
263                "CCylinderModel.evalDistribution expects a q value.");
264                return NULL;
265        }
266    // Check params
267       
268    if(PyArray_Check(pars)==1) {
269               
270            // Length of list should 1 or 2
271            npars = pars->nd; 
272            if(npars==1) {
273                // input is a numpy array
274                if (PyArray_Check(pars)) {
275                        return evaluateOneDim(self->model, (PyArrayObject*)pars); 
276                    }
277                }else{
278                    PyErr_SetString(CCylinderModelError, 
279                   "CCylinderModel.evalDistribution expect numpy array of one dimension.");
280                return NULL;
281                }
282    }else if( PyList_Check(pars)==1) {
283        // Length of list should be 2 for I(qx,qy)
284            mpars = PyList_GET_SIZE(pars); 
285            if(mpars!=2) {
286                PyErr_SetString(CCylinderModelError, 
287                        "CCylinderModel.evalDistribution expects a list of dimension 2.");
288                return NULL;
289            }
290             qx = PyList_GET_ITEM(pars,0);
291             qy = PyList_GET_ITEM(pars,1);
292             if (PyArray_Check(qx) && PyArray_Check(qy)) {
293                 return evaluateTwoDimXY(self->model, (PyArrayObject*)qx,
294                           (PyArrayObject*)qy);
295                 }else{
296                    PyErr_SetString(CCylinderModelError, 
297                   "CCylinderModel.evalDistribution expect 2 numpy arrays in list.");
298                return NULL;
299             }
300        }else{
301            PyErr_SetString(CCylinderModelError, 
302                   "CCylinderModel.evalDistribution couln't be run.");
303            return NULL;
304        }
305}
306
307/**
308 * Function to call to evaluate model
309 * @param args: input q or [q,phi]
310 * @return: function value
311 */
312static PyObject * run(CCylinderModel *self, PyObject *args) {
313        double q_value, phi_value;
314        PyObject* pars;
315        int npars;
316       
317        // Get parameters
318       
319            // Reader parameter dictionary
320    self->model->scale = PyFloat_AsDouble( PyDict_GetItemString(self->params, "scale") );
321    self->model->length = PyFloat_AsDouble( PyDict_GetItemString(self->params, "length") );
322    self->model->cyl_theta = PyFloat_AsDouble( PyDict_GetItemString(self->params, "cyl_theta") );
323    self->model->background = PyFloat_AsDouble( PyDict_GetItemString(self->params, "background") );
324    self->model->radius = PyFloat_AsDouble( PyDict_GetItemString(self->params, "radius") );
325    self->model->contrast = PyFloat_AsDouble( PyDict_GetItemString(self->params, "contrast") );
326    self->model->cyl_phi = PyFloat_AsDouble( PyDict_GetItemString(self->params, "cyl_phi") );
327    // Read in dispersion parameters
328    PyObject* disp_dict;
329    DispersionVisitor* visitor = new DispersionVisitor();
330    disp_dict = PyDict_GetItemString(self->dispersion, "radius");
331    self->model->radius.dispersion->accept_as_destination(visitor, self->model->radius.dispersion, disp_dict);
332    disp_dict = PyDict_GetItemString(self->dispersion, "length");
333    self->model->length.dispersion->accept_as_destination(visitor, self->model->length.dispersion, disp_dict);
334    disp_dict = PyDict_GetItemString(self->dispersion, "cyl_theta");
335    self->model->cyl_theta.dispersion->accept_as_destination(visitor, self->model->cyl_theta.dispersion, disp_dict);
336    disp_dict = PyDict_GetItemString(self->dispersion, "cyl_phi");
337    self->model->cyl_phi.dispersion->accept_as_destination(visitor, self->model->cyl_phi.dispersion, disp_dict);
338
339       
340        // Get input and determine whether we have to supply a 1D or 2D return value.
341        if ( !PyArg_ParseTuple(args,"O",&pars) ) {
342            PyErr_SetString(CCylinderModelError, 
343                "CCylinderModel.run expects a q value.");
344                return NULL;
345        }
346         
347        // Check params
348        if( PyList_Check(pars)==1) {
349               
350                // Length of list should be 2 for I(q,phi)
351            npars = PyList_GET_SIZE(pars); 
352            if(npars!=2) {
353                PyErr_SetString(CCylinderModelError, 
354                        "CCylinderModel.run expects a double or a list of dimension 2.");
355                return NULL;
356            }
357            // We have a vector q, get the q and phi values at which
358            // to evaluate I(q,phi)
359            q_value = CCylinderModel_readDouble(PyList_GET_ITEM(pars,0));
360            phi_value = CCylinderModel_readDouble(PyList_GET_ITEM(pars,1));
361            // Skip zero
362            if (q_value==0) {
363                return Py_BuildValue("d",0.0);
364            }
365                return Py_BuildValue("d",(*(self->model)).evaluate_rphi(q_value,phi_value));
366
367        } else {
368
369                // We have a scalar q, we will evaluate I(q)
370                q_value = CCylinderModel_readDouble(pars);             
371               
372                return Py_BuildValue("d",(*(self->model))(q_value));
373        }       
374}
375
376/**
377 * Function to call to evaluate model in cartesian coordinates
378 * @param args: input q or [qx, qy]]
379 * @return: function value
380 */
381static PyObject * runXY(CCylinderModel *self, PyObject *args) {
382        double qx_value, qy_value;
383        PyObject* pars;
384        int npars;
385       
386        // Get parameters
387       
388            // Reader parameter dictionary
389    self->model->scale = PyFloat_AsDouble( PyDict_GetItemString(self->params, "scale") );
390    self->model->length = PyFloat_AsDouble( PyDict_GetItemString(self->params, "length") );
391    self->model->cyl_theta = PyFloat_AsDouble( PyDict_GetItemString(self->params, "cyl_theta") );
392    self->model->background = PyFloat_AsDouble( PyDict_GetItemString(self->params, "background") );
393    self->model->radius = PyFloat_AsDouble( PyDict_GetItemString(self->params, "radius") );
394    self->model->contrast = PyFloat_AsDouble( PyDict_GetItemString(self->params, "contrast") );
395    self->model->cyl_phi = PyFloat_AsDouble( PyDict_GetItemString(self->params, "cyl_phi") );
396    // Read in dispersion parameters
397    PyObject* disp_dict;
398    DispersionVisitor* visitor = new DispersionVisitor();
399    disp_dict = PyDict_GetItemString(self->dispersion, "radius");
400    self->model->radius.dispersion->accept_as_destination(visitor, self->model->radius.dispersion, disp_dict);
401    disp_dict = PyDict_GetItemString(self->dispersion, "length");
402    self->model->length.dispersion->accept_as_destination(visitor, self->model->length.dispersion, disp_dict);
403    disp_dict = PyDict_GetItemString(self->dispersion, "cyl_theta");
404    self->model->cyl_theta.dispersion->accept_as_destination(visitor, self->model->cyl_theta.dispersion, disp_dict);
405    disp_dict = PyDict_GetItemString(self->dispersion, "cyl_phi");
406    self->model->cyl_phi.dispersion->accept_as_destination(visitor, self->model->cyl_phi.dispersion, disp_dict);
407
408       
409        // Get input and determine whether we have to supply a 1D or 2D return value.
410        if ( !PyArg_ParseTuple(args,"O",&pars) ) {
411            PyErr_SetString(CCylinderModelError, 
412                "CCylinderModel.run expects a q value.");
413                return NULL;
414        }
415         
416        // Check params
417        if( PyList_Check(pars)==1) {
418               
419                // Length of list should be 2 for I(qx, qy))
420            npars = PyList_GET_SIZE(pars); 
421            if(npars!=2) {
422                PyErr_SetString(CCylinderModelError, 
423                        "CCylinderModel.run expects a double or a list of dimension 2.");
424                return NULL;
425            }
426            // We have a vector q, get the qx and qy values at which
427            // to evaluate I(qx,qy)
428            qx_value = CCylinderModel_readDouble(PyList_GET_ITEM(pars,0));
429            qy_value = CCylinderModel_readDouble(PyList_GET_ITEM(pars,1));
430            return Py_BuildValue("d",(*(self->model))(qx_value,qy_value));
431
432        } else {
433
434                // We have a scalar q, we will evaluate I(q)
435                qx_value = CCylinderModel_readDouble(pars);             
436               
437                return Py_BuildValue("d",(*(self->model))(qx_value));
438        }       
439}
440
441static PyObject * reset(CCylinderModel *self, PyObject *args) {
442   
443
444    return Py_BuildValue("d",0.0);
445}
446
447static PyObject * set_dispersion(CCylinderModel *self, PyObject *args) {
448        PyObject * disp;
449        const char * par_name;
450
451        if ( !PyArg_ParseTuple(args,"sO", &par_name, &disp) ) {
452            PyErr_SetString(CCylinderModelError,
453                "CCylinderModel.set_dispersion expects a DispersionModel object.");
454                return NULL;
455        }
456        void *temp = PyCObject_AsVoidPtr(disp);
457        DispersionModel * dispersion = static_cast<DispersionModel *>(temp);
458
459
460        // Ugliness necessary to go from python to C
461            // TODO: refactor this
462    if (!strcmp(par_name, "radius")) {
463        self->model->radius.dispersion = dispersion;
464    } else    if (!strcmp(par_name, "length")) {
465        self->model->length.dispersion = dispersion;
466    } else    if (!strcmp(par_name, "cyl_theta")) {
467        self->model->cyl_theta.dispersion = dispersion;
468    } else    if (!strcmp(par_name, "cyl_phi")) {
469        self->model->cyl_phi.dispersion = dispersion;
470    } else {
471            PyErr_SetString(CCylinderModelError,
472                "CCylinderModel.set_dispersion expects a valid parameter name.");
473                return NULL;
474        }
475
476        DispersionVisitor* visitor = new DispersionVisitor();
477        PyObject * disp_dict = PyDict_New();
478        dispersion->accept_as_source(visitor, dispersion, disp_dict);
479        PyDict_SetItemString(self->dispersion, par_name, disp_dict);
480    return Py_BuildValue("i",1);
481}
482
483
484static PyMethodDef CCylinderModel_methods[] = {
485    {"run",      (PyCFunction)run     , METH_VARARGS,
486      "Evaluate the model at a given Q or Q, phi"},
487    {"runXY",      (PyCFunction)runXY     , METH_VARARGS,
488      "Evaluate the model at a given Q or Qx, Qy"},
489     
490    {"evalDistribution",  (PyCFunction)evalDistribution , METH_VARARGS,
491      "Evaluate the model at a given Q or Qx, Qy vector "},
492    {"reset",    (PyCFunction)reset   , METH_VARARGS,
493      "Reset pair correlation"},
494    {"set_dispersion",      (PyCFunction)set_dispersion     , METH_VARARGS,
495      "Set the dispersion model for a given parameter"},
496   {NULL}
497};
498
499static PyTypeObject CCylinderModelType = {
500    PyObject_HEAD_INIT(NULL)
501    0,                         /*ob_size*/
502    "CCylinderModel",             /*tp_name*/
503    sizeof(CCylinderModel),             /*tp_basicsize*/
504    0,                         /*tp_itemsize*/
505    (destructor)CCylinderModel_dealloc, /*tp_dealloc*/
506    0,                         /*tp_print*/
507    0,                         /*tp_getattr*/
508    0,                         /*tp_setattr*/
509    0,                         /*tp_compare*/
510    0,                         /*tp_repr*/
511    0,                         /*tp_as_number*/
512    0,                         /*tp_as_sequence*/
513    0,                         /*tp_as_mapping*/
514    0,                         /*tp_hash */
515    0,                         /*tp_call*/
516    0,                         /*tp_str*/
517    0,                         /*tp_getattro*/
518    0,                         /*tp_setattro*/
519    0,                         /*tp_as_buffer*/
520    Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /*tp_flags*/
521    "CCylinderModel objects",           /* tp_doc */
522    0,                         /* tp_traverse */
523    0,                         /* tp_clear */
524    0,                         /* tp_richcompare */
525    0,                         /* tp_weaklistoffset */
526    0,                         /* tp_iter */
527    0,                         /* tp_iternext */
528    CCylinderModel_methods,             /* tp_methods */
529    CCylinderModel_members,             /* tp_members */
530    0,                         /* tp_getset */
531    0,                         /* tp_base */
532    0,                         /* tp_dict */
533    0,                         /* tp_descr_get */
534    0,                         /* tp_descr_set */
535    0,                         /* tp_dictoffset */
536    (initproc)CCylinderModel_init,      /* tp_init */
537    0,                         /* tp_alloc */
538    CCylinderModel_new,                 /* tp_new */
539};
540
541
542//static PyMethodDef module_methods[] = {
543//    {NULL}
544//};
545
546/**
547 * Function used to add the model class to a module
548 * @param module: module to add the class to
549 */ 
550void addCCylinderModel(PyObject *module) {
551        PyObject *d;
552       
553    if (PyType_Ready(&CCylinderModelType) < 0)
554        return;
555
556    Py_INCREF(&CCylinderModelType);
557    PyModule_AddObject(module, "CCylinderModel", (PyObject *)&CCylinderModelType);
558   
559    d = PyModule_GetDict(module);
560    CCylinderModelError = PyErr_NewException("CCylinderModel.error", NULL, NULL);
561    PyDict_SetItemString(d, "CCylinderModelError", CCylinderModelError);
562}
563
Note: See TracBrowser for help on using the repository browser.