Skip to content

Commit 748a9bf

Browse files
authored
Merge pull request #4 Changes for V3.0.0
Changes for V3.0.0
2 parents 18acf8f + efcc553 commit 748a9bf

19 files changed

Lines changed: 1771 additions & 1705 deletions

CHANGE history.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,67 @@
1+
# V3.0.0
2+
3+
Version 3 makes some changes to various functions to enable:
4+
* moving towards allowing several concurrent models in the same file
5+
* preparing for detailed comparison of results, extraction of scattered fields from objects, delta dB plots etc
6+
* moving towards adding a frequency sweep feature and add VSWR bandwidth as an optimisation target
7+
* moving towards allowing gain parameters computed over a range of angles as optimiser targets (e.g. max vertical gain, min gain in a spefified direction, front to back ratio)
8+
* simplifying and automating gain pattern resolution and range settings
9+
10+
The detailed changes are listed below.
11+
12+
### Gain point and Angular range and resolution functions
13+
* set_gain_point(azimuth, elevation),
14+
* set_gain_hemisphere_1deg(),
15+
* set_gain_sphere_1deg(),
16+
* set_gain_az_arc(azimuth_start, azimuth_stop, nPoints, elevation)
17+
18+
These are now all replaced by:
19+
* set_gain_point(azimuth_deg, elevation_deg)
20+
* set_angular_resolution(az_step_deg, el_step_deg)
21+
22+
The last function works intelligently with ground specification to determine whether a full sphere or half sphere is requested.
23+
24+
### start_geometry function
25+
No longer needed
26+
27+
### Load placement functions
28+
29+
* place_parallel_RLC_load(......) and
30+
* place_series_RLC_load(......)
31+
32+
are replaced by
33+
* place_RLC_load(...... load_type = 'series'|'parallel', ............)
34+
35+
### Simple model results parameters
36+
* h_gain(),
37+
* v_gain(),
38+
* tot_gain(),
39+
* vswr(Z0 = 50)
40+
41+
are replaced by
42+
* get_gains_at_gain_point(model) and
43+
* vswr(model, Z0 = 50)
44+
45+
#### Results plotting functions
46+
* plot_gain(pattern_data, elevation_deg, component, polar=True)
47+
48+
is replaced by
49+
* plot_pattern_gains(model)
50+
which is intended as a flexible plot which can overlay several field components
51+
52+
* read_radiation_pattern() is no longer needed as a user function
53+
54+
#### Wire Frame viewer functions
55+
* show_wires_from_file(file_path, ex_tag, color='blue', title = "3D Viewer")
56+
57+
is replaced by
58+
* show_wires_from_file(model)
59+
60+
which avoids the need to pass ex_tag and get details of load tag numbers from the model
61+
62+
#### Thin Sheet Model
63+
The positional argument 'sigma' is removed. If used to create a conducting sheet, the conductivity is either perfect or as specied in the global 'set_wire_conductivity(sigma)' function. This model still requires validation for the production of a thin dielectric sheet.
64+
165
# V2.1.0
266
Changes forced by 'stretching test case' of building a model of a car passenger cell with a handheld transmitter inside. This requires meshed grids to connect cleanly, which requires 0,1,2,3 or 4 edges to be left 'open' *and* requires changes to the wire connection decision functions:
367

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,12 @@ pip install necbol
3030
## User Guide
3131
Documentation is work in progress. In the meantime:
3232

33-
* For a quick and basic overview, see the file [example_dipole_with_detailed_comments.py](https://github.com/G1OJS/NECBOL/blob/d22ee40ef966d9abb778667cd5b5979a98ed287b/example_dipole_with_detailed_comments.py) for a minimal explanation of how to use this framework.
33+
* For a quick and basic overview, see the file "example_dipole_with_detailed_comments.py" for a minimal explanation of how to use this framework.
3434

3535
* There are several more example files in the [examples folder](https://github.com/G1OJS/NECBOL/tree/main/examples) intended to highlight different aspects of necbol and different ways of doing similar things. You can copy these examples and modify to see how they work, or start your own from scratch.
3636

3737
* Automated user documentation is [here](https://g1ojs.github.io/NECBOL/docs/user_functions.html). You can see an outline of all code [here](https://g1ojs.github.io/NECBOL/docs/outline.html).
3838

3939
* You can browse the source files in the [necbol folder](https://github.com/G1OJS/NECBOL/tree/main/necbol) (however note that they may be ahead of the release on pip).
40+
41+
* Please look at the change history file, especally if you've used previous versions

0 commit comments

Comments
 (0)