#!/usr/bin/env python """ This software was developed by the University of Tennessee as part of the Distributed Data Analysis of Neutron Scattering Experiments (DANSE) project funded by the US National Science Foundation. If you use DANSE applications to do scientific research that leads to publication, we ask that you acknowledge the use of the software with the following sentence: "This work benefited from DANSE software developed under NSF award DMR-0520547." copyright 2008, University of Tennessee """ """ Provide functionality for a C extension model WARNING: THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY DO NOT MODIFY THIS FILE, MODIFY ..\c_extensions\triaxial_ellipsoid.h AND RE-RUN THE GENERATOR SCRIPT """ from sans.models.BaseComponent import BaseComponent from sans_extension.c_models import CTriaxialEllipsoidModel import copy class TriaxialEllipsoidModel(CTriaxialEllipsoidModel, BaseComponent): """ Class that evaluates a TriaxialEllipsoidModel model. This file was auto-generated from ..\c_extensions\triaxial_ellipsoid.h. Refer to that file and the structure it contains for details of the model. List of default parameters: scale = 1.0 semi_axisA = 35.0 [A] semi_axisB = 100.0 [A] semi_axisC = 400.0 [A] contrast = 5.3e-006 [1/AČ] background = 0.0 [1/cm] axis_theta = 1.0 [rad] axis_phi = 1.0 [rad] axis_psi = 0.0 [rad] """ def __init__(self): """ Initialization """ # Initialize BaseComponent first, then sphere BaseComponent.__init__(self) CTriaxialEllipsoidModel.__init__(self) ## Name of the model self.name = "TriaxialEllipsoidModel" ## Model description self.description ="""Note: During fitting ensure that the inequality A