Aerosandbox

Latest version: v4.2.4

Safety actively analyzes 621876 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

4.2.4

- Fixed a bug in `aerosandbox.numpy.gradient` which resulted in inconsistent answers with `numpy.gradient` (dropped an argument). Added fix for the `period` argument.
- Adds a new tutorial on visualizing flight test data.
- Adds a new tutorial on aircraft noise impact minimization.
- Improved accuracy of transonic modeling with `asb.Airfoil.get_aero_from_neuralfoil()` based on correlation to full-potential and RANS solutions.
- Adds `softmax_scalefree` and `softmin_scalefree` as new surrogate modeling tools. Similar to softmax and softmin, but with a scale dependent on arguments.
- Adds in ability to do `.leading_edge_radius()` calculations in `asb.Airfoil` and `asb.KulfanAirfoil`, which can be used during optimization to prevent sharp leading edges from forming.
- Adds `softplus` and `swish` functions to support neural surrogate modeling.
- Adds preparations for NumPy 2.0 by fixing soon-to-be-deprecated calls.

4.2.3

- Synchronized update: ASB 4.2.3 and NeuralFoil 0.2.0.

4.2.2

- Added Python 3.12 support, after completing investigation of small floating-point math differences between Python 3.11 and 3.12 (caused by backend changes in NumPy 1.24.3 and 1.25.0).
- Updated version pins in `requirements.txt` to match those used in local pre-commit testing.
- Breaking change from 4.2.1: in `asb.XFoil`, to access boundary layer data (new feature from 4.2.1), give `include_bl_data=True` in the `asb.XFoil` constructor rather than in `asb.XFoil.alpha()`.
- In `asb.XFoil`, added more aggressive suppression of pop-up window generation from X11, allowing it to run in the background more reliably.
- Increased the default `asb.XFoil` paneling resolution to 320 points when `xfoil_repanel=True` is given.
- Fixed gimbal lock singularity issues in the solar energy library (`aerosandbox.library.power_solar`), which could cause optimization to fail when the sun is directly overhead.

4.2.1

- Added ability to extract boundary layer data from XFoil via the `asb.XFoil` interface. See `asb.XFoil.alpha(alpha, include_bl_data=True)` for details. This is useful for boundary layer analysis, especially for high-lift devices.
- Added geometry export capabilities to OpenVSP using the *.vspscript interface. Accessible via `asb.Airplane.export_OpenVSP_vspscript(filename="/path/to/my/file.vspscript")`. To import into OpenVSP, use this function to generate a VSPscript file, and then import it via File -> Run Script... in OpenVSP.
- Overhaul of the airfoil database at `aerosandbox.geometry.airfoil.airfoil_database`. This includes the addition of around 500 new high-quality airfoils, the removal of around 15 exceptionally-low-quality airfoils from the UIUC database, the correction of some airfoil coordinates for transcription errors, and fixes for file encodings that caused errors on Linux.

4.2.0

- Fixed I/O error with XFoil. XFoil outputs may have mislabeled columns if both CP and hinge moments are requested. This is a bug in XFoil, but AeroSandbox now detects and corrects for it.
- Added `Atmosphere.density_altitude()`, which returns the density altitude.
- Added a `Timer` context manager in `aerosandbox.tools.code_benchmarking`, for code profiling.
- Improved visualization of Dynamics-class instances with PyVista; now, an altitude drape, ground plane, and wingtip ribbon can be drawn.
- Fixed a bug in `asb.AeroBuildup` where wave drag could continue to be added via airfoil aerodynamics even if the user specified `include_wave_drag=False`.
- Added a `period` argument to `asb.numpy.diff()` which allows for `diff`ing periodic variables (e.g., heading angle) without wraparound error.
- Added `asb.numpy.integrate_discrete` module, which has higher-order integrators for pre-sampled functions (e.g., useful when doing direct collocation trajectory optimization).
- Added `asb.numpy.integrate` module, which copies `scipy.integrate` and provides `quad` (quadrature) and `solve_ivp` (ODE solve) functions.
- Added `asb.numpy.gradient()` as a new function.
- Fixed a bug in the `asb.numpy.mod()` function, which previous had slight discrepancies against NumPy's implementation for negative inputs.
- Fixed singularities in some dynamics instances when converting to speed-gamma-track representations due to zero-speed points.
- Added new tools for uncertainty quantification of time-series datasets, available in `aerosandbox.tools.statistics`.
- Fixed an issue where trying to put `asb.OperatingPoint` objects into a NumPy object array would result in an infinite recursion (due to iterability of singleton `OperatingPoint` objects). Same fix applied to `asb.MassProperties` and ASB Dynamics-class instances.
- Added support for `order` argument in `asb.numpy.reshape()`.

-----

4.1.7

- Minimal changes; mostly more documentation and backend upgrades (e.g., new PyPI upload process).
- Minor refactoring of `np.reshape` methods from array methods to functions, for clarity.
- Exploring reasons why NumPy 1.25.0 seems to have different optimization behavior than versions preceding. Currently ASB is pinned to NumPy<1.25.0a0; hoping to release pin in upcoming version.

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.