Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

synched numobrum changes into testbranch #1

Open
wants to merge 462 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
462 commits
Select commit Hold shift + click to select a range
f049f30
Making possible to process the Noise Spectral Density
Oct 11, 2022
b40ee9f
Making possible to process the Noise Spectral Density
Oct 12, 2022
b1fd074
Trying to fix readthedocs configuration so to include numpy
Oct 12, 2022
cc63725
trying to fix documentation generation
Oct 12, 2022
f47c912
trying to fix documentation generation
Oct 12, 2022
7ae4da8
Better explanation of the Fast Access
Oct 12, 2022
2dd1c0a
Better explanation of the Fast Access
Oct 12, 2022
d2347c9
Fixing problems on the "add_traces_from_raw" method.
Oct 30, 2022
76d1409
Better supporting the processing of stepped .OP simulations
Nov 6, 2022
01126bc
LTSpice_RawRead.py:
Nov 12, 2022
f650032
Upgrading to version 2.3
Nov 12, 2022
87f3621
Check for a space in front of parameters names
kgoodrick-rl Nov 19, 2022
7ad5a62
Merge pull request #64 from kgoodrick-rl/master
Nov 19, 2022
5935360
Update Parameter Regex
kgoodrick-rl Nov 20, 2022
322391a
Merge pull request #65 from kgoodrick-rl/master
Nov 21, 2022
87c8f09
Fix Bug with replace
kgoodrick-rl Nov 21, 2022
0c2ddd7
Merge pull request #66 from kgoodrick-rl/master
Nov 22, 2022
1e8eebf
Updating PyPi 2.3.1
Nov 29, 2022
82915d9
Removing LTSpice from all prefixes
nunobrum Dec 4, 2022
9a6be57
Taking Helper classes out of the RawRead
Dec 4, 2022
2f8eb12
Changing the flag so that it runs on the GitHub
Dec 4, 2022
adfe90a
Correcting errors in unittest
Dec 4, 2022
16a37c6
Fixing problem on the subcircuit regular expression
Dec 13, 2022
7af7c9a
Fixing the problem with more than one parameter passed into a subcirc…
Dec 28, 2022
4057431
Removing the PyLTSpice. from all imports
Dec 28, 2022
e22ae8c
Unversioning Batch_Test_1.log
Dec 28, 2022
749e55a
Correcting encoding list as per Issue #68 recommendation
Dec 28, 2022
e541115
Fixing the problem with more than one parameter passed into a subcirc…
Dec 28, 2022
08e20db
Correcting encoding list as per Issue #68 recommendation
Dec 28, 2022
11a15cf
Fixing the problem with more than one parameter passed into a subcirc…
Dec 28, 2022
1ef0445
Correcting encoding list as per Issue #68 recommendation
Dec 28, 2022
c4a969d
Legacy support for imports on LTSpice*.py files
Dec 28, 2022
9ea6df6
Updating the Project Version
Dec 28, 2022
6815cfe
Adding back file that is needed for th unittests to run
Dec 28, 2022
35247fb
Merge branch 'no_LTSpice_prefix' into master
Dec 28, 2022
d0f62db
Merge branch 'master' of https://github.com/nunobrum/PyLTSpice into m…
Dec 28, 2022
df21732
Adopting the lowercase filename convention for file and module names
Jan 2, 2023
dad98c4
Aligning documentation generation with new filenames
Jan 2, 2023
08dfd6d
aligning documentation with the latest version
Jan 2, 2023
3cdc9d4
Adding missing documentation files
Jan 2, 2023
d569bcc
Adding missing files
Jan 2, 2023
f1fc718
Fixing documentation problems
Jan 2, 2023
8ae0c29
Adding generated documentation files
Jan 2, 2023
adb474e
Adding the PySpice header to all python files
Jan 8, 2023
5f3aec8
rearranged documentation
MarcVanRiet-Dekimo Jan 15, 2023
96f229a
two more files were moved
MarcVanRiet-Dekimo Jan 15, 2023
38ae71a
Merge pull request #83 from mvanriet/work
Jan 15, 2023
73b7485
Adding PyLTSpice styled header as suggested by Marc
Jan 15, 2023
d3460d9
Using pathlib for all file operations
Jan 15, 2023
6e64abb
removing output_folder paramter from RunTask. It was not being used t…
Jan 15, 2023
e5b4fef
fixing unittests to work on GitHub
Jan 15, 2023
3094bae
Work (#84)
Jan 18, 2023
10d9b7f
Removing deprecated LTCommander
Jan 18, 2023
51e73f5
Merge remote-tracking branch 'origin/master' into master
Jan 18, 2023
5860cb5
Documentation for RawRead, RawWrite, read_steps (#86)
mvanriet Jan 20, 2023
ea3bab6
Adding get_wave directly to the RawRead clas
Jan 22, 2023
30ade95
Quick-fix to support the new LTspice simulator and solve the problem …
Jan 22, 2023
0a3033f
Preparing 3.1 version. Final checks
Jan 22, 2023
0df59d2
Merge remote-tracking branch 'origin/master' into master
Jan 22, 2023
80e5fde
Adding class diagram
Jan 23, 2023
0f136fc
Refining
Jan 23, 2023
b4b5cec
Adding the Run task
Jan 24, 2023
4d1190d
Fixed the relations between SimRunner and RunTask
Jan 24, 2023
4f2beec
Adding 'Frequency Response Analysis' to the list of accepted simulations
Jan 24, 2023
596bd4f
Adding 'Frequency Response Analysis' to the list of accepted simulations
Jan 24, 2023
c26bfe7
simplified approach
mvanriet Jan 25, 2023
ca9d6d7
Update Singleton approach
mvanriet Jan 25, 2023
a49ce7c
Update Singleton approach
mvanriet Jan 25, 2023
04dfd07
Update Singleton approach
mvanriet Jan 25, 2023
b2bc9fd
Removing Abstract Classes
Jan 30, 2023
a58d6c5
Update Singleton approach
Jan 30, 2023
444463b
Implemented the get_wave direcly on the RawRead Class as was done in …
Jan 30, 2023
57946ad
Organizing files according to directories
Jan 31, 2023
58ac54e
Organizing files according to directories
Jan 31, 2023
a7b523a
Forcing the user to specify the data type when creating 'frequency' A…
Feb 12, 2023
ffbbc9f
Moving raw_write testbench to an external script
Feb 12, 2023
96f9257
Moving raw_write testbench to an external script
Feb 12, 2023
5fd0cc3
Preparing Unittest for GitHub validation
Feb 12, 2023
d9d2a41
Reorganizing repository structure.
Feb 12, 2023
3c7b121
Reorganizing repository structure.
Feb 12, 2023
5acfb00
Merge remote-tracking branch 'origin/dev_space' into dev_space
Feb 12, 2023
ccbb638
Obvious runtime fixes to make it proper
Feb 12, 2023
5c932ab
Removing dates Git will record dates
Feb 17, 2023
f94ecf2
Adding missing files
Feb 22, 2023
b9f68df
Fixes on Documentation
Feb 23, 2023
d822621
Fixes after the execution of unittests
Feb 23, 2023
e589af2
Introducing the ngspice_simulator.py
Feb 23, 2023
61925d6
Adding support to the FRA wiggler
Feb 26, 2023
67c6c15
Supporting wiggler circuit element
Feb 26, 2023
f8a56c7
First ! Not fully working version of the Client-Server approach.
Feb 26, 2023
10d7999
Correction of unittests
Feb 26, 2023
aa0860e
Working in progress. Simulator server needs to be divided into two pa…
Mar 8, 2023
06baf0c
Capturing the callback_return to be used on the client-server routines
Mar 12, 2023
8d50174
Working version of the client server classes using xmlrpc library.
Mar 12, 2023
3da88d2
Correcting other modules to align with a pure class implementation of…
Mar 20, 2023
825c1d4
Correcting problem wiht UnrecognizedSyntaxError initialization.
Mar 24, 2023
f1c25d0
Correcting problem with UnrecognizedSyntaxError initialization.
Mar 24, 2023
17907de
Fixing the has_ltspice_detect() to align with new class-only Simulator
Mar 24, 2023
76419b4
Adding Xyce and NgSpice Simulators
Mar 26, 2023
02df5c9
Updating document structure
Apr 8, 2023
fdb7fc8
Renaming LTSpiceSimulator to just LTSpice
Apr 8, 2023
efabae8
Adding __init__.py files
Apr 8, 2023
7db6fd8
Emptying __init__.py in raw and log directories
Apr 8, 2023
78f0213
Fixes in documentation
Apr 8, 2023
b651adc
Small typo fix in the add_LTspiceRunCmdLineSwitches() method of SimCo…
Apr 10, 2023
53f94b8
Fixes in documentation
Apr 10, 2023
e3b6dce
Fixes in documentation
Apr 17, 2023
9958a26
Implementing a callback using multiprocessing
Apr 23, 2023
3559013
Going to be released as 4.0
Apr 23, 2023
ff08d6a
Typos and reformatting file
Apr 26, 2023
a542221
setting the good command line arguments for simulating with ngspice
Apr 26, 2023
8198adc
solving problems found during pull-request
Apr 26, 2023
971e354
making the 'time' bug check directly on the get_wave() to avoid probl…
Apr 30, 2023
cedbd4a
Aligning the README.md with the current implementation.
Apr 30, 2023
93f2c56
Aligning the README.md with the current implementation.
Apr 30, 2023
0eee4d0
Additions and deletions
Apr 30, 2023
44f65db
Solving Merging Conflicts
Apr 30, 2023
5c99747
Merge pull request #92 from nunobrum/dev_space
Apr 30, 2023
e2655f3
Solving issues post merging
Apr 30, 2023
eee28b0
Solving issues post merging
Apr 30, 2023
e0eb4b2
Fixing the problems with the CLI instructions on the project.toml
May 12, 2023
ce3b9a3
Merge branch 'master' into dev_space
May 12, 2023
6f58797
Merge pull request #94 from nunobrum/dev_space
May 12, 2023
83e15ec
Changing list of Library dependencies.
May 13, 2023
e6041f2
Adding missing files.
May 13, 2023
f41eaf9
Merge remote-tracking branch 'origin/dev_space' into dev_space
May 13, 2023
3450845
Merge pull request #96 from nunobrum/dev_space
May 13, 2023
bf01f0c
Removing LTspice simulator from __init__.py which was generating unne…
May 14, 2023
685115b
Cleanup
May 14, 2023
1dfc06c
Merge pull request #97 from nunobrum/dev_space
May 14, 2023
35c08d5
Fix PyLance typing error
May 26, 2023
5e3cc3b
Fix time elapsed statistic when running multiple threads
May 26, 2023
23b8fd8
Merge pull request #102 from gudnimg/time-elapsed-fix
May 26, 2023
19de705
Merge pull request #100 from gudnimg/tuple-typing-fix
May 26, 2023
46b28e2
Fixing problem with import of LTSpiceLogReader from LTSteps.py
May 26, 2023
c9c5299
Upgrading to 4.0.3
May 26, 2023
34aec96
Initial Print Replacement Pass Through
TSprech May 30, 2023
2db30c1
Updated ReadMe and Added Convenience Functions
TSprech May 30, 2023
cc0f951
Removing __pycache__/LTSpice_RawRead.cpython-37.pyc
Jun 2, 2023
c55a690
Merge pull request #103 from TSprech/PrintLoggingReplacement
Jun 2, 2023
9f51b08
Modified print_info, so that it doesn't log two times the same thing …
Jun 4, 2023
47ddc9c
Modified testbench batch_test3.py to use RichHandler with the new log…
Jun 4, 2023
a3cbbe6
Updating README.md for version 4.0.4
Jun 4, 2023
b56d58c
Thanks to TSprech@GitHub
Jun 4, 2023
fa9350c
Accepting the changes from aanas-sayed
Jun 16, 2023
bd66c19
Accepting both str and pathlib.Path on the write_netlist() method in…
Jun 16, 2023
79a8222
Fixing problem that made that a SpiceCircuit would be evaluated direc…
Jul 14, 2023
c470eae
Fixing issue with the write_netlist() function when receiving a strin…
Jul 17, 2023
7204e7a
Creating an editor for ASC files
Aug 7, 2023
617685e
Adding missing remove_instruction() method to AscEditor
Aug 7, 2023
6f16226
Fixes on the testbench
Aug 7, 2023
81ba2e9
Fixes on the testbench
Aug 7, 2023
3c9ffba
Adding asc_editor_test.py testbench
Aug 7, 2023
923d5cc
Fixes on the testbench asc_editor_test.py : Adding the PyLTspice to t…
Aug 7, 2023
fbe048e
Merge remote-tracking branch 'origin/asc_editor' into asc_editor
Aug 7, 2023
fd847b9
Merge remote-tracking branch 'origin/asc_editor' into asc_editor
Aug 7, 2023
3e433c6
Merge remote-tracking branch 'origin/asc_editor' into asc_editor
Aug 7, 2023
7c0709b
Fixing problem in the _get_text_space() method
Aug 7, 2023
d6be387
Adding logging messages into AscEditor
Aug 7, 2023
58da384
Corrections in logger files
Aug 9, 2023
c8b0141
Adopting the BaseEditor as interface in all classes that use the Spic…
Aug 9, 2023
fb6fa71
Major restructuring of the tests folder, separating the examples from…
Aug 9, 2023
6052c87
Major restructuring of the tests folder, separating the examples from…
Aug 9, 2023
c858811
Aligning unittests to the present folder location
Aug 9, 2023
c79c398
Aligning unittests to the present folder location
Aug 9, 2023
78a65db
Aligning unittests to the present folder location
Aug 9, 2023
d0b2cdf
Merge remote-tracking branch 'origin/asc_editor' into asc_editor
Aug 9, 2023
df5c4ef
Aligning unittests to the present folder location
Aug 9, 2023
6d9d331
Fixing the execution of unittests
Aug 9, 2023
c609f72
Fixing the execution of unittests
Aug 9, 2023
b408b10
Adding missing test files
Aug 9, 2023
9e31f05
Updating the name of the test_asc_editor.py
Aug 9, 2023
faa390e
Merge pull request #109 from nunobrum/asc_editor
Aug 9, 2023
365cc65
Fixes on the simulation of .asc files
Aug 10, 2023
1eebcfe
Working Client-Server example with fixes on server.
Aug 10, 2023
646f829
Adding Golden files for AscEditor Test
Aug 10, 2023
7bedf53
Improving coverage on asc_editor.py
Aug 10, 2023
8280e10
Aligning documentation to the new folder structure.
Aug 10, 2023
11d695b
Improving tolerance_deviations.py
Aug 11, 2023
ae02022
Working Montecarlo updater and respective testbench
Aug 11, 2023
322aaab
Working Worst Case updater and respective testbench
Aug 11, 2023
b0c4ec6
Merge pull request #110 from nunobrum/asc_editor
Aug 11, 2023
6fd157d
Fixing problem in the AscEditor testbench
Aug 11, 2023
25b9a45
Fixing problem in the AscEditor testbench
Aug 11, 2023
741f877
Merge branch 'master' of https://github.com/nunobrum/PyLTSpice
Aug 11, 2023
a2692c2
Fixing problem in the AscEditor testbench
Aug 11, 2023
b8244ca
Adding description about the new features on the README.md
Aug 11, 2023
2aff73e
Adding a folder for documentation media (images, etc..)
Aug 12, 2023
2623e1b
Moving files to their right places
Aug 12, 2023
eba2ea6
Adding missing file
Aug 12, 2023
ee55836
Fixing the client server testbench
Aug 12, 2023
14ce78b
Moving sallenkey.png images from media to modules. Otherwise the Sphi…
Aug 12, 2023
a030805
Updating version 4.1.0
Aug 12, 2023
8773d6a
Merge pull request #111 from nunobrum/dev
Aug 12, 2023
1cb4160
Testing Runner with AscEditor
Aug 13, 2023
ec520e7
lograwfile
Aug 15, 2023
aa604a7
Refactoring the LTSpiceLogReader dividing it into two separate classes.
Aug 20, 2023
6e4d771
Preparing for release of 4.1.1
Aug 20, 2023
9e71a48
Merge pull request #113 from nunobrum/dev
Aug 20, 2023
019eb1e
Update README.md
Aug 20, 2023
f8fbadc
Merge pull request #114 from nunobrum/nunobrum-patch-1
Aug 20, 2023
82258fd
Adding support for QSpice Simulator
Aug 26, 2023
d4a3839
Adding support for QSpice Simulator
Aug 26, 2023
aa65e43
Solving the issue with the QSPICE raw file extension.
Aug 26, 2023
2790cfa
Cleaning up qraw files
Aug 26, 2023
316ac3d
Averting problem with non utf8 characters.
Aug 27, 2023
0cbe529
QSPICE testbench also uses RawRead
Aug 27, 2023
658afa6
Using the time function for the timeout calculation. And using the st…
Aug 27, 2023
a165689
Adding missing test file for NGSpice example
Aug 27, 2023
218e3f3
Fixes on the logger messages.
Aug 27, 2023
93d6ba3
File rename
Aug 27, 2023
9979d8a
Fixing issue in the Client Server when an output folder is defined.
Aug 27, 2023
062697b
Correcting an issue in the argument type for the simulator object.
Aug 27, 2023
08563c4
Setup and README.md fixes
Aug 27, 2023
93a84e6
Merge branch 'master' into dev
Sep 8, 2023
1f0554c
Dev (#117)
Sep 8, 2023
09b5d1a
Add command line switches to LTSpice netlist call (#121)
wardgssens Sep 21, 2023
8db95bc
Dev (#123)
Oct 11, 2023
f861a56
Making the PyLTSpice dependent of the spice lib for all main functions.
Oct 16, 2023
198293c
Adding back the Andreas's iterator. Not sure if anyone is using it.
Oct 16, 2023
80a4d9c
Adding back the Andreas's iterator. Not sure if anyone is using it.
Oct 16, 2023
761fd27
Merge branch 'master' into dev
Oct 16, 2023
4c82cd3
Merge pull request #125 from nunobrum/dev
Oct 16, 2023
3f82005
Minor fixes and preparing for creating wheel for PyPi
Oct 16, 2023
338f52f
Minor fixes and preparing for creating wheel for PyPi
Oct 16, 2023
237440d
All verbose parameters default to False
Oct 18, 2023
1e428a8
Removing dependencies. These are now solely on the spicelib dependency.
Nov 3, 2023
e2131ae
Alignment to spicelib 0.9
Dec 3, 2023
3170a28
Corrections on the run_montecarlo.py and run_worst_case.py examples.
Feb 15, 2024
9f3ec95
Alignment to spicelib 1.0.3
Mar 9, 2024
4eaffb4
Alignment to spicelib 1.0.4
Mar 10, 2024
c20101f
Fixing autodoc
Mar 16, 2024
97b774b
References imported in the __init__.py are now comming directly from …
Mar 16, 2024
951d966
Fixing Unittest
Mar 16, 2024
bcdf5c3
Hierarchical Support (alignment with spicelib 1.1.1)
Apr 21, 2024
c3115aa
Corrections on the README.md Examples. Full Alignment with code on th…
Apr 28, 2024
1209d3a
Corrections on the README.md Examples. Full Alignment with code on th…
Apr 28, 2024
ccd217b
Corrections on the README.md Examples. Full Alignment with code on th…
Apr 28, 2024
0f33c15
Avoiding import errors if the rich handler is not installed
Apr 28, 2024
1d6f483
Making possible to update SpiceEditor inside AscEditors
May 5, 2024
e6cf14d
Formatting and adding copyright information
May 5, 2024
1e3d74f
Trying to generate documentation from the project.toml information
May 5, 2024
35678a8
Trying to generate documentation from the project.toml information
May 5, 2024
7274566
Merge pull request #139 from nunobrum/issue138_fix
May 5, 2024
17290af
Fixing readthedocs webhook
Sep 15, 2024
d32a9cb
Fix on the unittests
Sep 15, 2024
5728469
adding missing files.
Sep 15, 2024
98cb602
Fix on the unittests
Sep 15, 2024
a6a13a1
Alignment with spicelib 1.3.1
Oct 13, 2024
85b5731
Releae of 5.4.2 - Alignment with spicelib 1.4.1
Feb 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Averting problem with non utf8 characters.
This needs to have a better fix afterwards.
  • Loading branch information
Nuno Brum committed Aug 27, 2023
commit 316ac3df5eeafa64462ddcafc8ae515439de4a6c
2 changes: 1 addition & 1 deletion PyLTSpice/raw/raw_read.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ def __init__(self, raw_filename: str, traces_to_read: Union[str, List[str], Tupl
header = []
binary_start = 6
while True:
ch = raw_file.read(sz_enc).decode(encoding=self.encoding)
ch = raw_file.read(sz_enc).decode(encoding=self.encoding, errors='replace')
binary_start += sz_enc
if ch == '\n':
if self.encoding == 'utf_8': # must remove the \r
Expand Down