neutron_porosity¶ petrophys.interpretation.porosity.neutron_porosity neutron_porosity(nphi, nphi_matrix=-0.02, correction=0.0)[source]¶ Process neutron porosity. Parameters: nphi (float or np.ndarray) – Raw neutron porosity nphi_matrix (float, optional) – Matrix neutron response correction (float, optional) – Environmental correction Returns: Processed neutron porosity, nphi - nphi_matrix + correction, limited to 0-0.6 Return type: float or np.ndarray