Showing 1 of 3 files from the diff.
Newly tracked file
persim/images.py changed.
Other files ignored by Codecov

@@ -329,18 +329,50 @@
Loading
329 329
        
330 330
    @property
331 331
    def width(self):
332 +
        """
333 +
        Persistence image width.
334 +
        
335 +
        Returns
336 +
        -------
337 +
        width : float
338 +
            The width of the region of the birth-persistence plane covered by the persistence image in birth units.
339 +
        """
332 340
        return self._width
333 341
334 342
    @property
335 343
    def height(self):
344 +
        """
345 +
        Persistence image height.
346 +
        
347 +
        Returns
348 +
        -------
349 +
        height : float
350 +
            The height of the region of the birth-persistence plane covered by the persistence image in persistence units.
351 +
        """
336 352
        return self._height
337 353
338 354
    @property
339 355
    def resolution(self):
356 +
        """
357 +
        Persistence image resolution.
358 +
        
359 +
        Returns
360 +
        -------
361 +
        resolution : pair of ints (width, height)
362 +
            The number of pixels along each dimension of the persistence image, determined by the birth and persistence ranges and the pixel size.
363 +
        """
340 364
        return self._resolution
341 365
342 366
    @property
343 367
    def pixel_size(self):
368 +
        """
369 +
        Persistence image square pixel dimensions.
370 +
        
371 +
        Returns
372 +
        -------
373 +
        pixel_size : float
374 +
            The width (and height) in birth/persistence units of each square pixel in the persistence image. 
375 +
        """
344 376
        return self._pixel_size
345 377
346 378
    @pixel_size.setter
@@ -353,6 +385,14 @@
Loading
353 385
354 386
    @property
355 387
    def birth_range(self):
388 +
        """
389 +
        Range of birth values covered by the persistence image.
390 +
        
391 +
        Returns
392 +
        -------
393 +
        birth_range : pair of floats (min. birth, max. birth)
394 +
            The minimum and maximum birth values covered by the persistence image.
395 +
        """
356 396
        return self._birth_range
357 397
358 398
    @birth_range.setter
@@ -364,6 +404,14 @@
Loading
364 404
365 405
    @property
366 406
    def pers_range(self):
407 +
        """
408 +
        Range of persistence values covered by the persistence image.
409 +
        
410 +
        Returns
411 +
        -------
412 +
        pers_range : pair of floats (min. persistence, max. persistence)
413 +
            The minimum and maximum persistence values covered by the persistence image.
414 +
        """
367 415
        return self._pers_range
368 416
369 417
    @pers_range.setter
Files Coverage
persim 75.30%
Project Totals (12 files) 75.30%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading