gnu: Add python-ndcube.
* gnu/packages/astronomy.scm (python-ndcube): New variable. Change-Id: I94087c7e02ca678531bcbf4eb3d035e2647768fd
This commit is contained in:
		
							parent
							
								
									5d390495ab
								
							
						
					
					
						commit
						a75c4114f8
					
				
					 1 changed files with 49 additions and 0 deletions
				
			
		|  | @ -2076,6 +2076,55 @@ of dates.") | |||
| the easy construction of interactive matplotlib widget based animations.") | ||||
|     (license license:bsd-3))) | ||||
| 
 | ||||
| (define-public python-ndcube | ||||
|   (package | ||||
|     (name "python-ndcube") | ||||
|     (version "2.2.0") | ||||
|     (source | ||||
|      (origin | ||||
|        (method url-fetch) | ||||
|        (uri (pypi-uri "ndcube" version)) | ||||
|        (sha256 | ||||
|         (base32 "1b3vbnm438j5jb48vilp145lq137fbrg1l4845rc55mz2p025x34")))) | ||||
|     (build-system pyproject-build-system) | ||||
|     (arguments | ||||
|      (list | ||||
|       #:phases | ||||
|       #~(modify-phases %standard-phases | ||||
|           (add-before 'check 'set-home-env | ||||
|             (lambda _ | ||||
|               ;; Tests require HOME to be set. | ||||
|               ;;  Permission denied: '/homeless-shelter' | ||||
|               (setenv "HOME" "/tmp")))))) | ||||
|     (propagated-inputs | ||||
|      (list python-astropy | ||||
|            python-gwcs | ||||
|            python-matplotlib | ||||
|            python-mpl-animators | ||||
|            python-numpy | ||||
|            python-reproject)) | ||||
|     (native-inputs | ||||
|      (list python-dask | ||||
|            python-pytest | ||||
|            python-pytest-astropy | ||||
|            python-pytest-mpl | ||||
|            python-scipy | ||||
|            python-setuptools-scm | ||||
|            python-sunpy)) | ||||
|     (home-page "https://docs.sunpy.org/projects/ndcube/") | ||||
|     (synopsis "Multi-dimensional contiguous and non-contiguous coordinate aware arrays") | ||||
|     (description | ||||
|      "@code{ndcube} is a package for manipulating, inspecting and visualizing | ||||
| multi-dimensional contiguous and non-contiguous coordinate-aware data arrays. | ||||
| 
 | ||||
| It combines data, uncertainties, units, metadata, masking, and coordinate | ||||
| transformations into classes with unified slicing and generic coordinate | ||||
| transformations and plotting/animation capabilities.  It is designed to handle | ||||
| data of any number of dimensions and axis types (e.g. spatial, temporal, | ||||
| spectral, etc.) whose relationship between the array elements and the real world | ||||
| can be described by @acronym{WCS, World Coordinate System} translations.") | ||||
|     (license license:bsd-2))) | ||||
| 
 | ||||
| (define-public python-photutils | ||||
|   (package | ||||
|     (name "python-photutils") | ||||
|  |  | |||
		Reference in a new issue