- Timestamp:
- Mar 1, 2010 4:47:12 PM (15 years ago)
- 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:
- d5f0dcb9
- Parents:
- 272d91e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Invariant/invariant.py
r56f8401 rabf6771 357 357 self._high_extrapolation_function = PowerLaw() 358 358 self._high_extrapolation_power = None 359 360 def set_data(self, data): 361 """ 362 the data from where the invariant is computed 363 """ 364 self._data = data 365 366 def set_background(self, background=0): 367 """ 368 given a value to the background 369 """ 370 self._background = background 371 372 def set_scale(self, scale=1): 373 """ 374 Given a value to the scale 375 """ 376 self._scale = scale 377 359 378 360 def _get_data(self, data): 379 361 """
Note: See TracChangeset
for help on using the changeset viewer.