Changeset c728295 in sasview for src/sas/sasgui/perspectives/corfunc


Ignore:
Timestamp:
Jul 18, 2017 11:46:10 AM (7 years ago)
Author:
lewis
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, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
d78b5cb
Parents:
7dda833
Message:

Remove unused argument and import

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/corfunc/corfunc_panel.py

    r37d53225 rc728295  
    245245            self._calculator.compute_transform(self._extrapolated_data, 
    246246                self.transform_type, background=self.background, 
    247                 extrap_fn=self._extrapolated_fn, 
    248247                completefn=self.transform_complete, 
    249248                updatefn=self.transform_update) 
     
    275274            self._extract_btn.Disable() 
    276275            return 
     276 
    277277        self._transformed_data = transforms 
    278278        (transform1, transform3, idf) = transforms 
    279         import numpy as np 
    280279        plot_x = transform1.x[np.where(transform1.x <= 200)] 
    281280        plot_y = transform1.y[np.where(transform1.x <= 200)] 
     
    284283        self._manager.show_data(transform3, TRANSFORM_LABEL3) 
    285284        self._manager.show_data(idf, IDF_LABEL) 
     285 
    286286        # Only enable extract params button if a fourier trans. has been done 
    287287        if self.transform_type == 'fourier': 
Note: See TracChangeset for help on using the changeset viewer.