Changeset b699768 in sasview for src/sas/sascalc/pr


Ignore:
Timestamp:
Feb 19, 2016 10:07:22 AM (9 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
d7bb526
Parents:
792e6be
Message:

Initial commit of the refactored SasCalc? module.

Location:
src/sas/sascalc/pr
Files:
5 added
10 moved

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/pr/__init__.py

    rb9a5f0e rb699768  
    5353# To create an inversion object: 
    5454# \verbatim 
    55 #from sas.pr.invertor import Invertor 
     55#from sas.sascalc.pr.invertor import Invertor 
    5656#    invertor = Invertor() 
    5757# \endverbatim 
  • src/sas/sascalc/pr/c_extensions/Cinvertor.c

    rb9a5f0e rb699768  
    11141114 
    11151115    d = PyModule_GetDict(module); 
    1116     CinvertorError = PyErr_NewException("sas.pr.invertor.Cinvertor.InvertorError", PyExc_RuntimeError, NULL); 
     1116    CinvertorError = PyErr_NewException("sas.sascalc.pr.invertor.Cinvertor.InvertorError", PyExc_RuntimeError, NULL); 
    11171117    PyDict_SetItemString(d, "CinvertorError", CinvertorError); 
    11181118} 
  • src/sas/sascalc/pr/distance_explorer.py

    r038c00cf rb699768  
    5151        Initialization. 
    5252 
    53         :param pr_state: sas.pr.invertor.Invertor object 
     53        :param pr_state: sas.sascalc.pr.invertor.Invertor object 
    5454 
    5555        """ 
  • src/sas/sascalc/pr/invertor.py

    r3d250da3 rb699768  
    1717from numpy.linalg import lstsq 
    1818from scipy import optimize 
    19 from sas.pr.core.pr_inversion import Cinvertor 
     19from sas.sascalc.pr.core.pr_inversion import Cinvertor 
    2020 
    2121def help(): 
  • src/sas/sascalc/pr/num_term.py

    rc1bffa5 rb699768  
    44import sys 
    55import logging 
    6 from sas.pr.invertor import Invertor 
     6from sas.sascalc.pr.invertor import Invertor 
    77 
    88class NTermEstimator(object): 
Note: See TracChangeset for help on using the changeset viewer.