__init__.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:physt 作者: janpipek 项目源码 文件源码
def munros(edge_length=10):
        """Number of munros in different rectangular areas of Scotland.

        Parameters
        ----------
        edge_length : float
            Size of the rectangular grid in minutes.

        Returns
        -------
        h : physt.histogram_nd.Histogram2D
            Histogram in latitude and longitude.
        """
        data = load_dataset("munros")
        return h2(data["lat"], data["long"], "fixed_width", edge_length / 60, name="munros", title="Munros of Scotland")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号