789fb3f59032822dc5250302f80a358a3cc15446,mahotas/moments.py,,,#,22
Before Change
from __future__ import division
import numpy as np
__all__ = ["moments"]
def moments(img, p0, p1, cm=None, convert_to_float=True):
"""
m = moments(img, p0, p1, cm=(0, 0), convert_to_float=True)
After Change
import warnings
warnings.warn(
"""Use
from mahotas.features import moments
""", DeprecationWarning)
from mahotas.features.moments import *
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: luispedro/mahotas
Commit Name: 789fb3f59032822dc5250302f80a358a3cc15446
Time: 2012-03-20
Author: luis@luispedro.org
File Name: mahotas/moments.py
Class Name:
Method Name:
Project Name: Rostlab/nalaf
Commit Name: ebe4256914107273feb1da940fc3e4237731365e
Time: 2016-11-11
Author: i@juanmi.rocks
File Name: nalaf/preprocessing/edges.py
Class Name: SimpleEdgeGenerator
Method Name: generate
Project Name: shaypal5/pdpipe
Commit Name: 71a900bce8f2544ee8d560241349d43f5d29164f
Time: 2017-03-17
Author: shaypal5@gmail.com
File Name: pdpipe/core.py
Class Name:
Method Name: