This release standardizes the structure of brainunit
. In the future, all code will be maintained in saiunit
. Any releases or functionalities in saiunit
will be available in brainunit
.
What's Changed
- [math] Fix numpy array creation methods by @Routhleck in #1
- update info by @chaoming0625 in #2
- update doc by @chaoming0625 in #3
- update doc for ecosystem by @chaoming0625 in #5
- change
Quantity.unit
toQauntity.dim
by @chaoming0625 in #6 - [docs] Update docs for
brainunit.math
by @Routhleck in #4 - [math] Fix the logic of array creation by @Routhleck in #7
- update the behavior of
__str__
and__repr__
when the value is during tracing by @chaoming0625 in #8 - remove the dependency of
brainstate
by @chaoming0625 in #10 - fix
asarray()
bug by @chaoming0625 in #12 - [math] Optimize compatible numpy method in
brainunit.math
by @Routhleck in #11 - Fix documentation by @chaoming0625 in #13
- remove the default unit register by @chaoming0625 in #14
- [docs] Fix and Update by @Routhleck in #15
- Add einops and other commonly used functions in
brianstate
by @chaoming0625 in #17 - Fix the numpy functions by @chaoming0625 in #18
- enable automatic unit register and in default python scalar is allowed to be
Quantity.value
by @chaoming0625 in #19 - Fix bugs and incorrect logics in
Qauntity
and its related math functions by @chaoming0625 in #21 - add logo by @chaoming0625 in #23
- [docs] Update more detailed and clearer documentation by @Routhleck in #22
- update logo, doc, and readme by @chaoming0625 in #24
- [math] Update
einsum
by @Routhleck in #20 - [docs] Add Array Creation tutorial in Unit-aware Math Functions by @Routhleck in #27
- fix
brainunit.math.exprel
bug by @chaoming0625 in #28 - [docs] Update array_creation.ipynb by @Routhleck in #29
- update built-in functions and numpy-like functions for
Quantity
by @chaoming0625 in #25 - [math] More tests by @Routhleck in #30
- update documentation by @chaoming0625 in #31
- add
brainunit.math.broadcast_to()
by @chaoming0625 in #32 - fix functions accepet unitless that receives binary inputs by @chaoming0625 in #33
- Add
broadcast_to()
by @chaoming0625 in #34 - fix typing of math functions by @chaoming0625 in #36
- Add new method to set default
magnitude
of Units by @Routhleck in #35 - Fix
create
ofUnit
for settingbase
by @Routhleck in #37 - rename
to_decimal_num()
toto_decimal()
by @chaoming0625 in #38 - update doc and module setting by @chaoming0625 in #39
- update the inplace operations: by @chaoming0625 in #40
- update code and doc for functions that keep units by @chaoming0625 in #42
- change the way to display
Unit
andQuantity
by @chaoming0625 in #44 - fix unit and quantity disaply by @chaoming0625 in #45
- add unit generation template, and change the tuple in a Dimension as a NumPy array by @chaoming0625 in #46
- improve the
Dimension
hash andQuantity
creation by @chaoming0625 in #47 - [doc] Update documentation by @Routhleck in #43
- functions that accept unitless support all dimensionless quantity by @chaoming0625 in #48
- improve the unit display by @chaoming0625 in #49
- add
celsius to kelvin
transform function by @chaoming0625 in #50 - add
maybe_decimal()
by @chaoming0625 in #51 - update repr representation of
Quantity
by @chaoming0625 in #52 - add
brainunit.get_magnitude()
,.magnitude
attribute, and tests by @chaoming0625 in #53 - Update unit generation template by @chaoming0625 in #55
- [feat] Add support for plotting
brainunit.Quantity
instances in matplotlib by @Routhleck in #54 - Update indent and doc conf by @chaoming0625 in #56
- overload more numpy functions by @chaoming0625 in #57
- update logic of array creation by @chaoming0625 in #60
- [feat] Overload
lax
methods by @Routhleck in #58 - [feat] Overload activation functions by @Routhleck in #59
- alias for unit processing functions by @chaoming0625 in #62
- [base] Override
__format__
method ofQuantity
by @Routhleck in #65 - [math] Add new module
linalg
and more numpy methods (diag_indices_from
&det
&norm
) by @Routhleck in #64 - Add unit-aware gradients and corresponding documentation by @chaoming0625 in #66
- fix docs by @chaoming0625 in #67
- fix
vector_grad
bugs by @chaoming0625 in #68 - [lax] Add tests for
brainunit.lax
module by @Routhleck in #61 - fix miss linalg namespace in
brainunit.math
module by @chaoming0625 in #69 - [linalg] Implement more methods of linalg module by @Routhleck in #70
- [feat] Support multiple results for
check_dims
andcheck_units
by @Routhleck in #71 - [feat] Add new decorator assign_units for unit processing on input and output for a function that does not support unit operations by @Routhleck in #73
- [feat] Add
fft
module by @Routhleck in #74 - [fft] Optimize
fftfreq
logic by @Routhleck in #75 - add 'fft' and 'linalg' shortcut in brainunit.math by @chaoming0625 in #76
- add
compatible_with_equinox
by @chaoming0625 in #77 - Include the conversion factor in a
Unit
by @chaoming0625 in #78 - remove
factorless
temporarily by @chaoming0625 in #79 - support unit-aware sparse computation:
CSR
,CSC
,COO
by @chaoming0625 in #80 - update sparse computation, add initial version of
BlockCSR
andBlockELL
by @chaoming0625 in #81 - support binary operation between two sparse matrix by @chaoming0625 in #82
- [feat] Add more constants (
Unit
andQuantity
format) by @Routhleck in #83 - [doc] Update docs by @Routhleck in #84
- Remove
automatically_register_units
by @chaoming0625 in #85 - Old version compatibility by @chaoming0625 in #86
- [doc] Update "Functions that Checking Units or Assigning Units" and Fix some typo by @Routhleck in #87
- update
assign_units
and addkcal_per_h
by @chaoming0625 in #89 Quantity
initialization does not call jax.numpy.asarray when mantissa is a Python number by @chaoming0625 in #90- [doc] Add autograd docstring by @Routhleck in #91
- [doc] Update autograd docstring by @Routhleck in #92
Quantity
initialization does not call jax.numpy.asarray when mantissa is a python number by @chaoming0625 in #94- [lax] Add more lax test cases by @Routhleck in #93
- Enable
Quantity
typing with syntax ofQuantity[unit]
by @chaoming0625 in #95 - update README to reflect its general applicability by @chaoming0625 in #97
- Update README by @chaoming0625 in #98
- Reallocate the codebase of
brainunit
intosaiunit
by @chaoming0625 in #99
New Contributors
- @Routhleck made their first contribution in #1
- @chaoming0625 made their first contribution in #2
Full Changelog: https://github.com/chaobrain/brainunit/commits/v0.0.8