![]() This changed in 1.15.0, previous versions saved in float32 The length must correspond to the number of map arrays.ĭefault: use the data type of the input array(s) Internally from the numpy datatype to the fits convention. The datatype in which the columns will be stored. dtype: np.dtype or list of np.dtypes, optional extra_header listĮxtra records to add to FITS header. Units for each column, or same units for all columns. column_names str or listĬolumn name or list of column names, if None here the default column names based onĢ : ,ģ : ,ĬOLUMN_1, COLUMN_2… otherwise (FITS is 1-based) column_units str or list If True, fits file is written as a partial-sky file with explicit indexing. The coordinate system, typically ‘E’ for Ecliptic, ‘G’ for Galactic or ‘C’ forĬelestial (equatorial) partial bool, optional If True, reshapes columns in rows of 1024, otherwise all the data will Should already be in the desired ordering (run ud_grade beforehand). The map ordering is not modified by this function, the input map array If True, ordering scheme is assumed to be NESTED, otherwise, RING. Supports masked maps, see the ma function. Possibly a sequence of 3 maps of same size. The fits file name m array or sequence of 3 arrays To reproduce the same behaviour of healpy 1.14.0 and below, set dtype=np.float32. Previously, by default healpy wrote maps in float32. The map will be written to disk with the same precision it is stored in memory. Starting from healpy 1.15.0, if you do not specify dtype, Writes a healpix map into a healpix FITS file. write_map ( filename, m, nest = False, dtype = None, fits_IDL = True, coord = None, partial = False, column_names = None, column_units = None, extra_header = (), overwrite = False ) ¶ ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |