fiesta.disperse.Network#
- class fiesta.disperse.Network(file_path, verbose=False)[source]#
Class to deal with filament network output by DisPerSE.
- Variables:
cps (
list
ofCriticalPoint
’s) – Array ofCriticalPoint
’s in the network.ncps (int) – Number of critical points in the network.
fils (
list
ofFilament
’s) – Array ofFilament
’s in the network.nfils (
int
) – Number of filaments in the networkscale (
str
) – Eitherpixel
if the grid is not scaled to the source AREPO snapshot, elsephysical
.
- Parameters:
Network.calc_filament_lengths
([verbose])Calculate the length of all filaments in the network.
Network.calc_filament_masses
(avg[, verbose])Calculate the mass of all filaments in the network.
Network.get_cp
(idx)Function to fetch a critical point of specific ID.
Network.get_filament
(idx)Function to fetch a filament of specific ID.
Network.plot_network
([fil_idxs, ...])Plot the filament network in 3D.
Network.remove_short_filaments
(min_length[, ...])Remove filaments below a given minimum length.
Network.set_scale
(acg)Function to set the physical scale of the network by passing the
ArepoCubicGrid
that was used as input for DisPerSE.