All,
This week the ASIAir bug bit me and cleared all my settings so my lights for the last few days were all saved without the filter information in the header. What that means is that Pixinsight is not properly calibrating with the flats. Renaming the files does not work as Pixinsight is reading the file header so, per the picture, it is still marking those lights as NoFilter versus the O filter in the lights below it. Is there a way to reassign those or relabel them so PI will combine with the 201 below or use the O flats?
Renaming the files does not work since PI is reading the header info. I'm sure I can go shoot some flats without the header info but I've already rotated the image train.
Hoping there is an easy way to manually change the calibration or to reassign those to the O filter.

Combining Mislabeled Lights in PI
#1
Posted 24 June 2025 - 01:29 PM
- pyrasanth likes this
#2
Posted 24 June 2025 - 01:59 PM
Open up one sub and under file fits header add the filter you are using. Don't forget to save the file. Drag the little triangle to the desktop which will create an instance of this object. This will be icon 1
Right click the PI desktop and choose the process container.
Add all the files you need the instance for to the process container and select an output path. Drag the triangle from the process container again to the desktop to create an instance of the process container. This will be icon 2
Drag the first icon on top of the second icon and let go.
The process will run and output a copy of the files to the location you specified with the correct filter you specified.
Another way this can be achieved is to use the custom folder- open up all the images as custom- select them as lights and define the settings there giving them a filter name.
All is not lost- either way will work.
Edited by pyrasanth, 24 June 2025 - 02:06 PM.
- dswtan, jdupton, SeymoreStars and 1 other like this
#3
Posted 24 June 2025 - 02:08 PM
Open up one sub and under file fits header add the filter you are using. Don't forget to save the file. Drag the little triangle to the desktop which will create an instance of this object.
Right click the PI desktop and choose the process container.
Add all the files you need the instance for to the process container and select an output path. Drag the triangle from the process container again to the desktop to create an instance of the process container.
Drag the first icon on top of the second icon and let go.
The process will run and output a copy of the files to the location you specified with the correct filter you specified.
Another way this can be achieved is to use the custom folder- open up all the images as custom- select them as lights and define the settings there giving them a filter name.
All is not lost- either way will work.
Thank You!!! I have about 400 lights to do so I really appreciate this information.
#4
Posted 24 June 2025 - 02:42 PM
i think the process container method will overwrite all the fits headers with the one that you've modified. that may not be what you want. i think the best way to go about this is his 2nd suggestion, to use "add custom" in WBPP and force the filter name to what you need it to be.
rob
- dswtan, Juno18 and DirtyRod like this
#5
Posted 24 June 2025 - 02:45 PM
i think the process container method will overwrite all the fits headers with the one that you've modified. that may not be what you want. i think the best way to go about this is his 2nd suggestion, to use "add custom" in WBPP and force the filter name to what you need it to be.
rob
Well- since your only producing copies that will be fine- keep the originals after processing. I did give another option- whatever floats your boat........
- DirtyRod likes this
#6
Posted 24 June 2025 - 02:54 PM
Well- since your only producing copies that will be fine- keep the originals after processing. I did give another option- whatever floats your boat........
I definitely appreciate the instructions and direction. Thanks!!
- pyrasanth likes this
#7
Posted 24 June 2025 - 03:26 PM
I definitely appreciate the instructions and direction. Thanks!!
No worries. If you decide to use the process container method make sure you save the file before the first drag to desktop after adding the required filter into the fits header- that is really important as applying the change does not save it into the file- otherwise you will just end up with a copy of your original files with no changed filter in the output copies.
If you get stuck on this step you can just open one of your files with the right settings and create the icon. That will also work as part of this process.
It is useful to get to know how to work with process containers as they can be used to apply all manner of settings- it not only works for this but other processes as well. lots of useful possibilities to speed up processing in bulk requirements.
Edited by pyrasanth, 24 June 2025 - 03:31 PM.
- DirtyRod likes this
#9
Posted 24 June 2025 - 04:30 PM
Cosmic photons has a script that can automate adding the necessary keywords to all your files at one time rather than each on, one at a time. Here is their repository info (they have other useful tools too, FYI):
https://www.cosmicph...les/colourmask/
https://www.cosmicph...s/solartoolbox/
https://www.cosmicph...pts/imageblend/
https://www.cosmicph...nbcolourmapper/
https://www.cosmicph...dnormalization/
https://www.cosmicph.../starreduction/
https://www.cosmicph...ts/screenstars/
https://www.cosmicph...drawannotation/
https://www.cosmicph...i-scripts/bfke/
https://www.cosmicph...ipts/closeview/
https://www.cosmicph...metricsolution/
- dswtan, Juno18 and DirtyRod like this
#10
Posted 24 June 2025 - 06:46 PM
Rod,
This week the ASIAir bug bit me and cleared all my settings so my lights for the last few days were all saved without the filter information in the header. What that means is that Pixinsight is not properly calibrating with the flats. Renaming the files does not work as Pixinsight is reading the file header so, per the picture, it is still marking those lights as NoFilter versus the O filter in the lights below it. Is there a way to reassign those or relabel them so PI will combine with the 201 below or use the O flats?
Renaming the files does not work since PI is reading the header info. I'm sure I can go shoot some flats without the header info but I've already rotated the image train.
Hoping there is an easy way to manually change the calibration or to reassign those to the O filter.
It looks like I am too late as I expect you have accomplished what you wanted already. Recall this method if you encounter the issue again. I think there is a much easier way to accomplish this task. I often have a need to force filter or exposure time parameters for frames in WBPP also. Here is what I do:
- In WBPP, go to the Lights Tab (in your case) and remove the frames that are missing the filter information. (Or remove them all.)
- Look at the bottom of the WBPP window and press the Add Custom button.
- Press the +Files button.
- Add the files that are missing the filter information (or add all files with the same filter type and exposure.)
- Select the file type from the Image type dropdown.
- Fill in the filter name you want to add.
- Select the proper binning.
- Enter the exposure time.
- Press OK.
WBPP will add the files and override the missing filter information, grouping all of them together in the Lights Tab. This method shouldn't take more than 15 to 30 seconds and works for lots of frames that may be missing some information that WBPP would normally read from the FITs headers.
John
- dswtan, pfile and DirtyRod like this
#11
Posted 24 June 2025 - 07:47 PM
Cosmic photons has a script that can automate adding the necessary keywords to all your files at one time rather than each on, one at a time. Here is their repository info (they have other useful tools too, FYI):
https://www.cosmicph...les/colourmask/
https://www.cosmicph...s/solartoolbox/
https://www.cosmicph...pts/imageblend/
https://www.cosmicph...nbcolourmapper/
https://www.cosmicph...dnormalization/
https://www.cosmicph.../starreduction/
https://www.cosmicph...ts/screenstars/
https://www.cosmicph...drawannotation/
https://www.cosmicph...i-scripts/bfke/https://www.cosmicph...ipts/closeview/
https://www.cosmicph...metricsolution/
The BatchFITSKeywordEdit script is awesome!
You can permanently edit the FITS header easily with this script. Worth instayand playing around with for the future.
- bignerdguy likes this
#12
Posted 24 June 2025 - 07:56 PM
Rod,
It looks like I am too late as I expect you have accomplished what you wanted already. Recall this method if you encounter the issue again. I think there is a much easier way to accomplish this task. I often have a need to force filter or exposure time parameters for frames in WBPP also. Here is what I do:
- In WBPP, go to the Lights Tab (in your case) and remove the frames that are missing the filter information. (Or remove them all.)
- Look at the bottom of the WBPP window and press the Add Custom button.
- Press the +Files button.
- Add the files that are missing the filter information (or add all files with the same filter type and exposure.)
- Select the file type from the Image type dropdown.
- Fill in the filter name you want to add.
- Select the proper binning.
- Enter the exposure time.
- Press OK.
WBPP will add the files and override the missing filter information, grouping all of them together in the Lights Tab. This method shouldn't take more than 15 to 30 seconds and works for lots of frames that may be missing some information that WBPP would normally read from the FITs headers.
John
OMG! How did I miss that one?!?!? 6 years of Imaging, 2 years of PI, and an hour of going through various calibration and stacking options and it it takes 1 sec to feel like an idiot. It took longer to type this reply!!
Thank you for pointing me to that option! I’m certain I will need to use it again.
Rod
#13
Posted 24 June 2025 - 10:52 PM
to be fair pyrasanth did mention the "add custom" method in his initial reply.
- DirtyRod likes this
#14
Posted 25 June 2025 - 08:17 AM
to be fair pyrasanth did mention the "add custom" method in his initial reply.
So you are saying I can’t read either huh?
THANK YOU ALL FOR YOUR FEEDBACK HELPING ME SOLVE MY ISSUE!