开云体育

Date

Re: .imp file

 

Actually, FFT and Inverse FFT are essentially the same algorithms, so the second FFT is really an IFFT, converting the spectrum back into a time-domain waveform.

I expect that the .imp file is the same sort of binary file as an .fft or .raw file.? It should have a readable header at the top that lists the LTspice settings and the signal name, followed by binary data for the remainder of the file.

Obviously it has nothing whatsoever to do with Adobe Audition, but that was the result?because it may be the most common use of ".imp" as a filename's extension.? The web search doesn't check what is actually inside the file.? Nobody actually "owns" any filename extension.

Andy


Re: .imp file

 

开云体育

I don’t recommend opening it with a text editor.

11 lines of text, describing the file, 1 line “Binary:”, and 4 MB of … binary.

?

From: [email protected] <[email protected]> On Behalf Of John Woodgate
Sent: Sunday, July 02, 2023 12:41 PM
To: [email protected]
Subject: EXTERNAL: Re: [LTspice] .imp file

?

I didn't intend to do an FFT of an FFT, but that might have happened by accident.? A spectrum of a spectrum is a cepstrum, which has similar anagrammatic concepts such as quefrency.

======================================================================================
Best wishes John Woodgate OOO-Own Opinions Only

Rayleigh, Essex UK

I hear, and I forget. I see, and I remember. I do, and I understand. Xunzi (340 - 245 BC)

On 2023-07-02 20:31, Andy I wrote:

John wrote, "but I've never seen an .IMP file before."

So you probably never did an FFT of an FFT before.? I think that is the only time you get such a file.? LTspice's Help recommends doing that as a way to get uniform timesteps.? There might be other reasons to do it, but it's not the first thing I ever think of doing.

Andy


Re: .imp file

 

开云体育

I didn't intend to do an FFT of an FFT, but that might have happened by accident.? A spectrum of a spectrum is a cepstrum, which has similar anagrammatic concepts such as quefrency.

======================================================================================
Best wishes John Woodgate OOO-Own Opinions Only

Rayleigh, Essex UK

I hear, and I forget. I see, and I remember. I do, and I understand. Xunzi (340 - 245 BC)


On 2023-07-02 20:31, Andy I wrote:

John wrote, "but I've never seen an .IMP file before."

So you probably never did an FFT of an FFT before.? I think that is the only time you get such a file.? LTspice's Help recommends doing that as a way to get uniform timesteps.? There might be other reasons to do it, but it's not the first thing I ever think of doing.

Andy


Re: .imp file

 

John wrote, "but I've never seen an .IMP file before."

So you probably never did an FFT of an FFT before.? I think that is the only time you get such a file.? LTspice's Help recommends doing that as a way to get uniform timesteps.? There might be other reasons to do it, but it's not the first thing I ever think of doing.

Andy


Re: .imp file

 

开云体育

Well, I have done? a lot of FFTs in the past , and .FOUR, but I've never seen an .IMP file before.

======================================================================================
Best wishes John Woodgate OOO-Own Opinions Only

Rayleigh, Essex UK

I hear, and I forget. I see, and I remember. I do, and I understand. Xunzi (340 - 245 BC)


On 2023-07-02 20:24, Andy I wrote:

It is indeed an "Impulse response" file, the result of performing an FFT of the FFT's output.? Like regular .fft files, LTspice leaves it around for you to delete if you choose to.? If I'm not mistaken, I think you can also drag and drop it in LTspice if you want to see it again.? Otherwise, it's not of much use to you.

Andy


Re: .imp file

 

It is indeed an "Impulse response" file, the result of performing an FFT of the FFT's output.? Like regular .fft files, LTspice leaves it around for you to delete if you choose to.? If I'm not mistaken, I think you can also drag and drop it in LTspice if you want to see it again.? Otherwise, it's not of much use to you.

Andy


Re: Sim speed

 

Have you modified the settings in LTspice so that? temporary files and working files are in a folder on the ramdisk?


Re: .imp file

 

This is an impulse response output from LTspice. I think it is the FFT of an FFT done. You can delete it.


Re: Importing 2N7000

 

开云体育

On 02/07/2023 19:05, John Woodgate wrote:
Isn't the normal way of doing this to create a 'Project' folder that automatically contains folders for each data type (i.e. each .extension) that can all 'see' each other? Like a PCB design project.
The problem with this is it won't contain anything from LTspice's distribution. We know that, over time, devices are added to standard libraries. But also devices are deleted - usually without announcement. If a project uses any of those, it won't be able to find them. This is what has happened to many of LTspice's own example schematics, which are currently being fixed - there are hundreds of them.

--
Regards,
Tony


Re: .imp file

 

开云体育

On 02/07/2023 18:53, John Woodgate wrote:
I just did a simulation of a simple active filter, to look at distortion of the filtered signal, and after LTspice has closed, it has left a file called 'Filter.imp' in the schematic folder. It's 4097 KB, but LTspice won't open it. A web search suggests that it is a Adobe Audition file. I don't want to have to buy Audition! Changelog doesn't give a clue.
Try opening it in a text editor just for a look, or just try dragging it from Explorer into an open LTspice session - it would then be opened by LTspice as a text file. LTspice initially assumes everything is text unless it turns out not to be.

--
Regards,
Tony


Re: Importing 2N7000

 

开云体育

On 02/07/2023 18:59, eetech00 via groups.io wrote:
On Sun, Jul 2, 2023 at 09:21 AM, Tony Casey wrote:
Another way that this issue could be solved is an "archive" function, that collects together all the files a project needs and puts them a zip. Ideally, this should be an LTspice function, as it already knows where it got all the files a schematic uses.
Hmm. interestingly, I happen to be working on a powershell script to do just that (although, I'm guessing yours would probably be designed for linux OS).
I imagine, however, that there would have to be options configured by the user to cover the multitude of library management methods.
No, the first very basic mockup was done in a bash script, simply to get an idea how it should work. But anything for the masses has to be multi-platform. I'd not even considered Powershell. I don't know if it is supported in Wine. I don't see why it shouldn't be. DOS cmd scripting works, but after bash, using it is just horrible. Python is inherently multi-platform and can do just about anything. There's also no reason it can't be done in C/C++ and compiled for almost any platform with GCC.

Like I said, though, ideally it should be within LTspice. Other simulators and EDA tools have had this kind of functionality for decades. Vlad and I also talked about this some years ago. Maybe he got further than I did. But I think he was also working in bash at the time, as a fellow Arch Linux user.

If you manage to get something running, I'm sure it would be very well received and appreciated.

--
Regards,
Tony


Re: Importing 2N7000

 

开云体育

I have a folder named "Components", where I put the basic sims of individual devices. Each one has a folder with the .asc, .sym and model in it.

When I want to sim a circuit that usees one of these devices, I open the .asc, copy the device and .inc or .sub command into the new file. Then I need to open both the "Components" folder and the folder in which I have created the new circuit for copying the needed .sym and model files.

Wouldn't it be nice if just copying the device would simultaneously copy the other files?

Le 02/07/2023 à 19:05, John Woodgate a écrit?:

Isn't the normal way of doing this to create a 'Project' folder that automatically contains folders for each data type (i.e. each .extension) that can all 'see' each other? Like a PCB design project.

======================================================================================
Best wishes John Woodgate OOO-Own Opinions Only

Rayleigh, Essex UK

I hear, and I forget. I see, and I remember. I do, and I understand. Xunzi (340 - 245 BC)


On 2023-07-02 17:59, eetech00 via groups.io wrote:
On Sun, Jul 2, 2023 at 09:21 AM, Tony Casey wrote:
Another way that this issue could be solved is an "archive" function, that collects together all the files a project needs and puts them a zip. Ideally, this should be an LTspice function, as it already knows where it got all the files a schematic uses.
Hmm. interestingly, I happen to be working on a powershell script to do just that (although, I'm guessing yours would probably be designed for linux OS).
I imagine, however, that there would have to be options configured by the user to cover the multitude of library management methods.


Re: Importing 2N7000

 

开云体育

Isn't the normal way of doing this to create a 'Project' folder that automatically contains folders for each data type (i.e. each .extension) that can all 'see' each other? Like a PCB design project.

======================================================================================
Best wishes John Woodgate OOO-Own Opinions Only

Rayleigh, Essex UK

I hear, and I forget. I see, and I remember. I do, and I understand. Xunzi (340 - 245 BC)


On 2023-07-02 17:59, eetech00 via groups.io wrote:

On Sun, Jul 2, 2023 at 09:21 AM, Tony Casey wrote:
Another way that this issue could be solved is an "archive" function, that collects together all the files a project needs and puts them a zip. Ideally, this should be an LTspice function, as it already knows where it got all the files a schematic uses.
Hmm. interestingly, I happen to be working on a powershell script to do just that (although, I'm guessing yours would probably be designed for linux OS).
I imagine, however, that there would have to be options configured by the user to cover the multitude of library management methods.


Re: Importing 2N7000

 

On Sun, Jul 2, 2023 at 09:21 AM, Tony Casey wrote:
Another way that this issue could be solved is an "archive" function, that collects together all the files a project needs and puts them a zip. Ideally, this should be an LTspice function, as it already knows where it got all the files a schematic uses.
Hmm. interestingly, I happen to be working on a powershell script to do just that (although, I'm guessing yours would probably be designed for linux OS).
I imagine, however, that there would have to be options configured by the user to cover the multitude of library management methods.


.imp file

 

开云体育

I just did a simulation of a simple active filter, to look at distortion of the filtered signal, and after LTspice has closed, it has left a file called 'Filter.imp' in the schematic folder. It's 4097 KB, but LTspice won't open it. A web search suggests that it is a Adobe Audition file. I don't want to have to buy Audition! Changelog doesn't give a clue.

--
======================================================================================
Best wishes John Woodgate OOO-Own Opinions Only

Rayleigh, Essex UK

I hear, and I forget. I see, and I remember. I do, and I understand. Xunzi (340 - 245 BC)



Re: Importing 2N7000

 

开云体育

On 02/07/2023 18:03, Jerry Lee Marcel wrote:
Le 02/07/2023 à 17:24, Tony Casey a écrit?:
Maximum portability is afforded by keeping added symbols and models in the same folder as the schematic that uses them.

I fully agree. It's what I do since you have recommanded it years ago.
The only drawback is that one has to copy the necessary model and symbol in a separate operation.

It would be nice if copying a .asc simultaneously copied them.

Actually, many suppliers continue to recommand appending the standard libraries.
Yes, I write and tell them sometimes. But my voice isn't loud enough. Anyone that's been here long enough will remember Helmut saying all this over and over again.

Another way that this issue could be solved is an "archive" function, that collects together all the files a project needs and puts them a zip. Ideally, this should be an LTspice function, as it already knows where it got all the files a schematic uses. From time to time, I mess about with an external utility that would do the same things. It's not massively complicated, but I fear it will remain yet another unfinished project, because we all limp by with an imperfect solution that just works.

--
Regards,
Tony


Re: Importing 2N7000

 

开云体育

Against stupidity, the gods themselves contend in vain.

======================================================================================
Best wishes John Woodgate OOO-Own Opinions Only

Rayleigh, Essex UK

I hear, and I forget. I see, and I remember. I do, and I understand. Xunzi (340 - 245 BC)


On 2023-07-02 17:03, Jerry Lee Marcel wrote:

Actually, many suppliers continue to recommand appending the standard libraries.


Re: Importing 2N7000

 

Le 02/07/2023 à 17:24, Tony Casey a écrit?:
Maximum portability is afforded by keeping added symbols and models in the same folder as the schematic that uses them.
I fully agree. It's what I do since you have recommanded it years ago.
The only drawback is that one has to copy the necessary model and symbol in a separate operation.

It would be nice if copying a .asc simultaneously copied them.

Actually, many suppliers continue to recommand appending the standard libraries.


Re: Importing 2N7000

 

开云体育

Agreed, and doing that doesn't stop you ALSO having personal library files for symbols and models, which avoids having to remember which schematic folder to look into for a given .ASY and/or .MOD or .SUB or several other extensions.

These days, there is no longer a realistic limit on how much storage is devoted to such libraries. All the entries are likely to be not larger than a few kB.

======================================================================================
Best wishes John Woodgate OOO-Own Opinions Only

Rayleigh, Essex UK

I hear, and I forget. I see, and I remember. I do, and I understand. Xunzi (340 - 245 BC)


On 2023-07-02 16:24, Tony Casey wrote:

Maximum portability is afforded by keeping added symbols and models in the same folder as the schematic that uses them.


Re: Importing 2N7000

 

开云体育

On 02/07/2023 14:29, eewiz wrote:
I have found "2n7002.sym" in the following folders.
LTspice\lib\sym\EXTRA\Philips\NMOSFET
LTspice\lib\sym\EXTRA\ZETEX\NMOSFET
If you have those folders, it's because you have added them. They are not in the distribution.

I'm also fairly sure you don't mean 2n7002.sym, because LTspice symbol files are .asy.

I highly recommend you don't mess with the distribution library folders/files, because unless you keep meticulous notes, you won't remember what you've done. Keep your own additions somewhere else, clearly labelled. Maximum portability is afforded by keeping added symbols and models in the same folder as the schematic that uses them.

--
Regards,
Tony