Skip to content

Commit

Permalink
Removed redundant power_law parameter in deproject_image
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas Stolker committed Feb 8, 2020
1 parent e0ab2ce commit 08d614a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Example
>>> mapping.map_disk(power_law=(0., 0.1, 1.15),
radius=(1., 500., 100))
>>> mapping.deproject_disk(power_law=(0., 0.1, 1.15))
>>> mapping.deproject_disk()
>>> mapping.r2_scaling(r_max=200.)
Expand Down
2 changes: 1 addition & 1 deletion diskmap/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

__author__ = 'Tomas Stolker'
__license__ = 'MIT'
__version__ = '0.0.2'
__version__ = '0.0.3'
__maintainer__ = 'Tomas Stolker'
__email__ = '[email protected]'
__status__ = 'Development'
11 changes: 2 additions & 9 deletions diskmap/diskmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,16 +246,9 @@ def power_law_height(x_power, a_power, b_power, c_power):

count += 1

def deproject_disk(self,
power_law):
def deproject_disk(self):
"""
Function for deprojecting a disk surface with a power-law function.
Parameters
----------
power_law : tuple(float, float, float)
The argument for the power-law function, provided as (a, b, c) with
f(x) = a + b*x^c, with ``a`` and ``b`` in au.
Function for deprojecting a disk surface based on the mapping of ``map_disk``.
Returns
-------
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

setup(
name='diskmap',
version='0.0.2',
version='0.0.3',
description='Scattered light mapping of protoplanetary disks',
long_description=open('README.rst').read(),
long_description_content_type='text/x-rst',
Expand Down

0 comments on commit 08d614a

Please sign in to comment.