stmass_pc2

edge_pydb.conversion.stmass_pc2(stmass_as2, dz=None, dist=<Quantity 10. Mpc>, pixsca=<Quantity 1. arcsec>, name='sigstar')[source]

Convert units for stellar surface density to Msol/pc2, optionally applying dezonification image.

Parameters:
stmass_as2numpy.array or astropy.table.Column

stellar surface density in Pipe3D units

dznumpy.array or astropy.table.Column

dezonification image from Pipe3D (optional)

distfloat or astropy.Quantity

The distance of the galaxy, assumed to be in Mpc if no units

pixscafloat or astropy.Quantity

The pixel scale of the IFU image, assumed to be in arcsec if no units. Default: 1 arcsec, appropriate for CALIFA.

namestring

The name of the output Column, if input is a Column

Returns:
numpy.array or astropy.table.Column, depending on input