<s> r"""<STR_LIT>""" <EOL> import scipy as _sp <EOL> def pore_to_pore ( geometry , ** kwargs ) : <EOL> r"""<STR_LIT>""" <EOL> network = geometry . _net <EOL> throats = network . throats ( geometry . name ) <EOL> pores = network . find_connected_pores ( throats , flatten = False ) <EOL> C0 = network [ '<STR_LIT>' ] [ pores , <NUM_LIT:0> ] <EOL> C1 = network [ '<STR_LIT>' ] [ pores , <NUM_LIT:1> ] <EOL> V = C1 - C0 <EOL> L = _sp . array ( _sp . sqrt ( _sp . sum ( V [ : , : ] ** <NUM_LIT:2> , axis = <NUM_LIT:1> ) ) , ndmin = <NUM_LIT:1> ) <EOL> value = V / _sp . array ( L , ndmin = <NUM_LIT:2> ) . T <EOL> return value </s>
