So I just wanted to give it a try. Got two of the nightlies, but both segfault with a coredump because of errors parsing /etc/fonts/fonts.conf
woodstock:~% ./als-0.7-dev-77e1b4e.run
Fontconfig warning: "/etc/fonts/fonts.conf", line 5: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/fonts.conf", line 6: unknown element "its:translateRule"
.....
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'version'
Fontconfig error: Cannot load config file from /etc/fonts/fonts.conf
Fontconfig warning: FcPattern object weight does not accept value [0205)
Segmentation fault (core dumped)
(installed is fontconfig-2.13.1-2.5.x86_64)
Then I tried to get the git version and do the venv install. But this one fails with installing the requirements, as there is no opencv-python==4.1.0.25 available.
Using (available) 4.1.2.30 instead collides with the requested numpy version. At that point, I gave up....
Sorry for not stating explicitly. As in the signature, this is an openSUSE Tumbleweed (rolling release, so quite recent packages of everything).
I can also open a ticket in you issue tracker, if you prefer that.
before ALS I used AstroToaster based on Deep Sky Stacker Enginge.
ALS is now my choice, but I miss Kappa-Sigma Clipping for an even better result / for filtering out planes, and an automated restart of stacking if slewing to a new target.
Filtering outliers would indeed be very usefull. We'd need to check its impact on performance.
Regarding auto-restart : as ALS is not connected to the mount (and won't be in a near future) we would need to rely on repeated alignment failures to assume user slewed to a new target. Would be worth a test.
Please fee free to create feature requests as issues on ALS's repo at github.com/gehelem/als .Who knows, we might find some time or horsepower to put them into ALS
Hi there - really enjoying this program and hope it will continue to develop! I'm finding tho that I would like to apply flats to my stacked images to remove donuts etc. Any thoughts on how I can do this prior to the file hitting the scan folder? I thought to use a script like the one below but it's not working as expected. Before I spend a ton of time and effort debugging it are there any other alternatives?
var = 1
while var == 1:
list_of_files=os.listdir(rawpath)
if len(list_of_files) == 0:
time.sleep(1)
else:
imagefile = list_of_files[0]
print("Processing "+imagefile)
# Move the file to the work folder
shutil.move(rawpath+imagefile,workpath)
imagedata = ccdproc.fits_ccddata_reader(workpath+imagefile, unit='adu')
masterflat = ccdproc.fits_ccddata_reader(calipath+"flat.fits", unit='adu')
imagedata = ccdproc.flat_correct(imagedata, masterflat)
# Write out calibrated result to the ALS scanpath for stacking
hdu = fits.PrimaryHDU(data=imagedata)
hdu.writeto(scanpath+imagefile, overwrite=True)