pynbody.halo.details.iord_mapping.IordToOffsetDense

pynbody.halo.details.iord_mapping.IordToOffsetDense#

class pynbody.halo.details.iord_mapping.IordToOffsetDense(iord_array, max_iord=None)[source]#

Bases: IordToOffset

Methods

map_ignoring_order(i)

Given an array of iord values, return the corresponding fpos values.

__init__(iord_array, max_iord=None)[source]#
map_ignoring_order(i)[source]#

Given an array of iord values, return the corresponding fpos values.

Warning: The returned values are not guaranteed to be in the same order as the input iord array.