get_tx

gets scaled age and length at puberty, weaning, birth for foetal development.

Contents

Syntax

varargout = get_tx (p, f, tel_b, tau)

Description

Obtains scaled age and length at puberty, weaning, birth for foetal development. An extra optional parameter, the stress coefficient for foetal development can modify the rate of development from fast (default, and a large stress coefficient of 1e8) to slow (value 1 gives von Bertalanffy growth of the same rate as post-natal development). Multiply the result with the somatic maintenance rate coefficient to arrive at age at puberty, weaning and birth.

Input

    - scalar with scaled functional response for period bi
    - 2-vector with scaled functional responses for periods bx and xi
    - (n,2)-array with scaled times and sfunctional responses in the columns
    or 3-vector with scaled age at birth, reserve density and length at 0

Output

Remarks

uses integration over scaled age with event detection; this function replaces get_tx_old

Examples

See predict_Moschus_berezovskii for a gradual change from f_bx to f_xi; and predict_Moschiola_meminna for an instantaneous change