Le forum des utilisateurs de Siril

Nouvelles:

  • L'équipe de développement de Siril est heureuse de vous accueillir dans ce forum.

    La version 0.9.10  est disponible !!!

    L'équipe de développement du logiciel Siril vous présente ses meilleurs vœux pour 2019.
  • We are delighted to welcome you to this forum

    The version 0.9.10 is available !!!

    The Siril software development team wishes you all the best for 2019.

Nouvelles

We are delighted to welcome you to this forum

The version 0.9.10 is available !!!

The Siril software development team wishes you all the best for 2019.

Creating a sequence from a script?

jpeterson1 · 25

jpeterson1

  • Mercurien
  • *
    • Messages: 2
le: janvier 06, 2019, 07:17:54 19
I am using a mono astro-camera and capturing to FITS files directly. I am trying to stack these files using a script but it complains that I need to first create a sequence. Is there a way to create a sequence from within a script? I looked through the documentation but couldn't find anything. Or am I doing something else wrong?

Here's an example:

Files:

bias/bias_00001_.fits
bias/...

Script:

setext fits
cd bias
stack bias_

Error:

No sequence found, verify working directory or change FITS extension in settings (current is .fits)
log: No sequence bias_.seq found.



lock042

  • Administrator
  • Terrien
  • *****
    • Messages: 208
Réponse #1 le: janvier 06, 2019, 09:47:10 21
Commands like stack (register, preprocess...) autogenerate the sequence if it does not exist. So if it is not working maybe that your script has a problem.



stevelcb

  • Mercurien
  • *
    • Messages: 24
Réponse #2 le: janvier 07, 2019, 08:13:40 08
FITS extension in settings (current is .fits)

Hi. I've been caught by that one before.
What extension does your camera produce? Siril needs to know whether it's fits or fit.

Change the setting in File > settings
HTH



lock042

  • Administrator
  • Terrien
  • *****
    • Messages: 208
Réponse #3 le: janvier 07, 2019, 10:34:21 10
He uses the command setext that set the extension he wants



lock042

  • Administrator
  • Terrien
  • *****
    • Messages: 208
Réponse #4 le: janvier 07, 2019, 12:41:37 12
I think I get it.
The name of your file is not good to be recognize as a sequence.
bias/bias_00001_.fits

You have to remove the last _. Name MUST ends with numbers.



jpeterson1

  • Mercurien
  • *
    • Messages: 2
Réponse #5 le: janvier 08, 2019, 05:43:08 05
Removing the trailing underscore fixed it. Thanks!

For reference, I am using SharpCap 3.2 to capture the files. There is an option to append the filter names to the file name, which I was using.  For example, in the form: "{TargetName}_{Index}_{Filter}". I must not have configured my filter wheel when taking the bias frames.

FWIW, it would be nice to not be quite so rigid about the naming pattern.



lock042

  • Administrator
  • Terrien
  • *****
    • Messages: 208
Réponse #6 le: janvier 08, 2019, 08:21:46 08
FWIW, it would be nice to not be quite so rigid about the naming pattern.

It's not a wish but a limit of our system: https://gitlab.com/free-astro/siril/issues/11