aPriori.DNS¶
DNS.py: the core module of the aPrioriDNS package.
Classes¶
Functions¶
|
|
|
Compute the volumes of the cells in a 3D mesh grid. |
|
Checks if any of the given paths exist. If so, prompts the user once to confirm deletion. |
|
Deletes the specified file from the file system. |
|
Downloads all files from a specified GitHub repository directory and saves them to the destination folder, |
|
|
|
Read a binary file and convert its contents into a numpy array. |
|
Checks whether mesh coordinate files match either: |
|
Converts 1D mesh coordinate files (X, Y, Z) into 3D meshgrid |
|
Apply a Gaussian filter to a 3D numpy array. |
|
Apply a box filter to a 3D numpy array using scipy's convolve function. |
|
Apply a 3D filter (Gaussian or box) to a numpy array, with optional Favre filtering. |
|
Saves the given array to a file in binary format. |
|
Computes the downsampled mask of a 3D field. |
|
Checks if the shape of the input arguments *args is the same |
|
Checks if the value of input_string is contained in the list valid_strings. |
|
Plots the power spectrum of a 3D field. |
|
|
|
|
|
Divides the given array into sections and computes the average for each section. |
|
Generator to read a binary file in chunks. |
|
Reads species mass fractions in chunks from the specified files. |
|
|
|
|
|