bundles / astropy 7.0.1 / astropy / io / fits / column / _makep
function
astropy.io.fits.column:_makep
source: /astropy/io/fits/column.py :2218
Signature
def _makep ( array , descr_output , format , nrows = None ) Summary
Construct the P (or Q) format column array, both the data descriptors and the data. It returns the output "data" array of data type dtype.
Extended Summary
The descriptor location will have a zero offset for all columns after this call. The final offset will be calculated when the file is written.
Parameters
arrayinput object array
descr_outputoutput "descriptor" array of data type int32 (for P format arrays) or int64 (for Q format arrays)--must be nrows long in its first dimension
formatthe _FormatP object representing the format of the variable array
nrows: int, optionalnumber of rows to create in the column; defaults to the number of rows in the input array
Aliases
-
astropy.io.fits.column._makep