source: sasview/corfuncview/src/sans/perspectives/corfunc/corfunc.py @ 592cd678

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 592cd678 was 592cd678, checked in by Anders Markvardsen <anders.markvardsen@…>, 11 years ago

the corfunc now gets loaded but still does not appear in top menu

  • Property mode set to 100644
File size: 2.8 KB
Line 
1################################################################################
2#SasView was developed by the University of Tennessee as part of the
3#Distributed Data Analysis of Neutron Scattering Experiments (DANSE) project
4#funded by the US National Science Foundation.
5#copyright 2008, University of Tennessee
6################################################################################
7#The set of routines that comprise this CORFUNC module were originally written
8#in 1994 at the behest of Anthony (Tony) Ryan by Thomas (Tom) Nye whilst an
9#undergraduate in Applied Mathematics at the University of Cambridge, and are
10#based on the earlier work of Gert Strobl (Universitat Freiburg) and co-workers
11#in the 1980's. The polydispersity analysis was proposed later by Guy Eeckhaut
12#(ICI).
13#
14#The original UNIX source was ported to the Windows environment (and given
15#a Java GUI) as part of Collaborative Computational Project #13, funded by the
16#UK Biotechnology & Biological Sciences Research Council and Engineering &
17#Physical Sciences Research Council, by CCP13 Post-Doctoral workers Richard
18#Denny and Mark Shotton in 1999.
19#
20#The alternative Hilbert transform (volume fraction profile) analysis of
21#Trevor Crowley (Salford University) and co-workers was suggested by Stephen
22#(Steve) King (ISIS Facility). Its incorporation was started by CCP13 Post-
23#Doctoral worker Matthew Rodman and finally implemented in 2004 by Steve King
24#and Damian Flannery (ISIS Facility), with help from Richard Heenan (ISIS
25#Facility).
26#
27#Copyright 2013, UK Science & Technology Facilities Council
28################################################################################
29
30"""
31This module implements correlation function analysis or calculates volume
32fraction profiles.
33
34:author: Steve King/ISIS
35
36"""
37import sys
38import wx
39import copy
40import logging
41
42from sans.guiframe.dataFitting import Data1D
43from sans.guiframe.events import NewPlotEvent
44from sans.guiframe.events import StatusEvent
45from sans.guiframe.gui_style import GUIFRAME_ID
46from sans.dataloader.loader import Loader
47from sans.guiframe.plugin_base import PluginBase
48
49class Plugin(PluginBase):
50    """
51    This class defines the interface for Corfunc Plugin class
52    that can be used by the gui_manager.       
53    """
54   
55    def __init__(self, standalone=False):
56        PluginBase.__init__(self, name="Corfunc", standalone=standalone)
57       
58        #dictionary containing data name and error on dy of that data
59#        self.err_dy = {}
60       
61        #default state objects
62        self.state_reader = None 
63        self._extensions = None
64        self.temp_state = None 
65        self.__data = None 
66       
67        # Log startup
68        logging.info("Corfunc plug-in started")
Note: See TracBrowser for help on using the repository browser.