radiasoft / rslaser

Integrated modeling of CPA crystal-based laser amplifiers
Apache License 2.0
1 stars 1 forks source link

Initializing pulse away from waist #53

Open k-wolfinger opened 1 year ago

k-wolfinger commented 1 year ago

The laser pulse parameter, dist_waist is currently not used in calculating the laser pulse position

        # self._pulse_pos = self.dist_waist - params.num_sig_long * self.sig_s + (slice_index + 0.5) * self.ds
        self._pulse_pos = (
            -params.num_sig_long * self.sig_s + (slice_index + 0.5) * self.ds
        )

As such, we can only initialize a pulse from function that is at the waist

k-wolfinger commented 1 year ago

The parameter dist_waist could also be renamed for improved clarity