########################### CRUCIAL NOTES #####################

# 1) It is imperative that you use the exact same spacing between the lines, as given in

#     this example. Otherwise, the script will NOT work properly.

#     The first time we tried running it, we opened it with an editor on one machine & pasted

#     it into another editor. However, the spaces were NOT preserved & we did NOT noticed

#

#2) To RUN the Script: Just enter the script name at the command line:

# Ex: 4mguest@flm-4m-1a{11} 2005dec10.manydarks.csh

##################################################################

#

#!/bin/csh

##

## Script to take 10 darks per integration time

## itimes of 10s, 20s, 30s and 300s

##

#Configure for 10s Darks

config.exposure.pl << __CFG-END__

y

dark

dark10s

dark10s

 

 

10

 

 

 

 

 

y

n

__CFG-END__

more.singleimages.pl 10 <<__SING-END__

y

__SING-END__

#Configure for 20s Darks

config.exposure.pl << __CFG-END__

y

dark

dark20s

dark20s

 

 

20

 

 

 

 

 

y

n

__CFG-END__

more.singleimages.pl 10 <<__SING-END__

y

__SING-END__

#Configure for 30s Darks

config.exposure.pl << __CFG-END__

y

dark

dark30s

dark30s

 

 

30

 

 

 

 

 

y

n

__CFG-END__

 

#

more.singleimages.pl 10 <<__SING-END__

y

__SING-END__

 

 

#

# switch to spectroscopic darks #####################

#

 

 

set.bias.pl << __BIA-END__

s

__BIA-END__

#

#Configure for spectro 300s/8 NReads Darks

config.exposure.pl << __CFG-END__

y

dark

dark300s_8nrd

dark300s_8nrd

 

 

300

8

 

 

 

 

y

n

__CFG-END__

more.singleimages.pl 10 <<__SING-END__

y

__SING-END__

#Configure for spectro 30s/8 NReads Darks

config.exposure.pl << __CFG-END__

y

dark

dark30s_8nrd

dark30s_8nrd

 

 

30

8

 

 

 

 

y

n

__CFG-END__

more.singleimages.pl 10 <<__SING-END__

y

__SING-END__

#Configure for spectro 10s/1 NReads Darks

config.exposure.pl << __CFG-END__

y

dark

dark10s_1nrd

dark10s_1nrd

 

 

10

1

 

 

 

 

y

n

__CFG-END__

more.singleimages.pl 10 <<__SING-END__

y

__SING-END__

#Configure for spectro 30s/1 NReads Darks

config.exposure.pl << __CFG-END__

y

dark

dark30s_1nrd

dark30s_1nrd

 

 

30

1

 

 

 

 

y

n

__CFG-END__

more.singleimages.pl 10 <<__SING-END__

y

__SING-END__